@@ -128,7 +128,7 @@ discard block |
||
| 128 | 128 | $dependencies = []; |
| 129 | 129 | $class = new ReflectionClass($command); |
| 130 | 130 | foreach ($class->getConstructor()->getParameters() as $parameter) { |
| 131 | - if ( $parameter->getPosition() == 0 && $parameter->isArray() ) { |
|
| 131 | + if ($parameter->getPosition() == 0 && $parameter->isArray()) { |
|
| 132 | 132 | if ($input !== []) { |
| 133 | 133 | $dependencies[] = $input; |
| 134 | 134 | } else { |
@@ -155,7 +155,7 @@ discard block |
||
| 155 | 155 | */ |
| 156 | 156 | private function getDefaultValueOrFail($parameter) |
| 157 | 157 | { |
| 158 | - if (! $parameter->isDefaultValueAvailable()) { |
|
| 158 | + if (!$parameter->isDefaultValueAvailable()) { |
|
| 159 | 159 | throw new InvalidArgumentException("Unable to map input to command: {$parameter->getName()}"); |
| 160 | 160 | } |
| 161 | 161 | |