Skip to content

Commit dbba4c2

Browse files
committed
update some logic for controller action run
1 parent 1e14a53 commit dbba4c2

31 files changed

+740
-335
lines changed

examples/Controller/HomeController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ protected function init(): void
6161
/**
6262
* @return array
6363
*/
64-
protected function groupOptions(): array
64+
protected function options(): array
6565
{
6666
return [
6767
'-c, --common' => 'This is a common option for all sub-commands',

examples/Controller/ShowController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public static function commandAliases(): array
4242
/**
4343
* @return array
4444
*/
45-
protected function groupOptions(): array
45+
protected function options(): array
4646
{
4747
return [
4848
'-c, --common' => 'This is a common option for all sub-commands',

0 commit comments

Comments
 (0)