@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | */ |
| 26 | 26 | public function get($commandClass) |
| 27 | 27 | { |
| 28 | - $noneOrOneOrMore = function ($item) { |
|
| 28 | + $noneOrOneOrMore = function($item) { |
|
| 29 | 29 | if (is_array($item) && 0 === count($item)) { |
| 30 | 30 | return; |
| 31 | 31 | } elseif (is_array($item) && 1 === count($item)) { |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | return $noneOrOneOrMore( |
| 42 | 42 | array_filter( |
| 43 | 43 | $this->map, |
| 44 | - function ($key) use ($commandClass) { |
|
| 44 | + function($key) use ($commandClass) { |
|
| 45 | 45 | $pattern = sprintf('/%s$/', preg_quote('\\'.$commandClass)); |
| 46 | 46 | |
| 47 | 47 | return preg_match($pattern, $key, $matches); |
@@ -60,7 +60,7 @@ |
||
| 60 | 60 | $tokensReflection = $inputReflection->getProperty('tokens'); |
| 61 | 61 | $tokensReflection->setAccessible(true); |
| 62 | 62 | $tokens = $tokensReflection->getValue($input); |
| 63 | - $tokens = array_values(array_filter($tokens, function ($token) use ($commandName) { |
|
| 63 | + $tokens = array_values(array_filter($tokens, function($token) use ($commandName) { |
|
| 64 | 64 | return $commandName !== $token; |
| 65 | 65 | })); |
| 66 | 66 | $tokensReflection->setValue($input, $tokens); |