@@ -186,7 +186,7 @@ discard block |
||
186 | 186 | if (method_exists($this->getDataStore(), 'has') && !$this->getDataStore()->has($className)) { |
187 | 187 | return []; |
188 | 188 | } |
189 | - $cache_data = (array) $this->getDataStore()->get($className); |
|
189 | + $cache_data = (array)$this->getDataStore()->get($className); |
|
190 | 190 | if (!$cache_data) { |
191 | 191 | return []; |
192 | 192 | } |
@@ -246,7 +246,7 @@ discard block |
||
246 | 246 | // can never be commands. |
247 | 247 | $commandMethodNames = array_filter( |
248 | 248 | get_class_methods($classNameOrInstance) ?: [], |
249 | - function ($m) { |
|
249 | + function($m) { |
|
250 | 250 | return !preg_match('#^_#', $m); |
251 | 251 | } |
252 | 252 | ); |
@@ -272,7 +272,7 @@ discard block |
||
272 | 272 | return $this->createSelectedCommandsFromClassInfo( |
273 | 273 | $commandInfoList, |
274 | 274 | $commandFileInstance, |
275 | - function ($commandInfo) use ($includeAllPublicMethods) { |
|
275 | + function($commandInfo) use ($includeAllPublicMethods) { |
|
276 | 276 | return static::isCommandMethod($commandInfo, $includeAllPublicMethods); |
277 | 277 | } |
278 | 278 | ); |