Skip to content

Commit 279e71e

Browse files
authored
CommandRunner _remap returns index() value
1 parent e91d0e7 commit 279e71e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

system/CLI/CommandRunner.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ class CommandRunner extends Controller
7171
* @param string $method
7272
* @param array ...$params
7373
*
74+
* @return mixed
7475
* @throws \ReflectionException
7576
*/
7677
public function _remap($method, ...$params)
@@ -81,7 +82,7 @@ public function _remap($method, ...$params)
8182
array_shift($params);
8283
}
8384

84-
$this->index($params);
85+
return $this->index($params);
8586
}
8687

8788
//--------------------------------------------------------------------

0 commit comments

Comments
 (0)