@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | // set or setup. |
| 76 | 76 | $commandMethodNames = array_filter( |
| 77 | 77 | get_class_methods($classNameOrInstance) ?: [], |
| 78 | - function ($m) { |
|
| 78 | + function($m) { |
|
| 79 | 79 | return !preg_match('#^(_|get[A-Z]|set[A-Z])#', $m); |
| 80 | 80 | } |
| 81 | 81 | ); |
@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | return $this->createSelectedCommandsFromClassInfo( |
| 98 | 98 | $commandInfoList, |
| 99 | 99 | $commandFileInstance, |
| 100 | - function ($commandInfo) use ($includeAllPublicMethods) { |
|
| 100 | + function($commandInfo) use ($includeAllPublicMethods) { |
|
| 101 | 101 | return $includeAllPublicMethods || static::isCommandMethod($commandInfo); |
| 102 | 102 | } |
| 103 | 103 | ); |