@@ -34,7 +34,7 @@ |
||
34 | 34 | */ |
35 | 35 | public function get($key) |
36 | 36 | { |
37 | - return (array) $this->dataStore->get($key); |
|
37 | + return (array)$this->dataStore->get($key); |
|
38 | 38 | } |
39 | 39 | |
40 | 40 | /** |
@@ -244,7 +244,7 @@ discard block |
||
244 | 244 | // can never be commands. |
245 | 245 | $commandMethodNames = array_filter( |
246 | 246 | get_class_methods($classNameOrInstance) ?: [], |
247 | - function ($m) { |
|
247 | + function($m) { |
|
248 | 248 | return !preg_match('#^_#', $m); |
249 | 249 | } |
250 | 250 | ); |
@@ -252,7 +252,7 @@ discard block |
||
252 | 252 | foreach ($commandMethodNames as $commandMethodName) { |
253 | 253 | if (!array_key_exists($commandMethodName, $cachedCommandInfoList)) { |
254 | 254 | $commandInfo = CommandInfo::create($classNameOrInstance, $commandMethodName); |
255 | - $commandInfoList[$commandInfo->getMethodName()] = $commandInfo; |
|
255 | + $commandInfoList[$commandInfo->getMethodName()] = $commandInfo; |
|
256 | 256 | } |
257 | 257 | } |
258 | 258 | |
@@ -273,7 +273,7 @@ discard block |
||
273 | 273 | return $this->createSelectedCommandsFromClassInfo( |
274 | 274 | $commandInfoList, |
275 | 275 | $commandFileInstance, |
276 | - function ($commandInfo) use ($includeAllPublicMethods) { |
|
276 | + function($commandInfo) use ($includeAllPublicMethods) { |
|
277 | 277 | return static::isCommandMethod($commandInfo, $includeAllPublicMethods); |
278 | 278 | } |
279 | 279 | ); |