@@ -154,8 +154,9 @@ |
||
154 | 154 | * @return mixed |
155 | 155 | */ |
156 | 156 | private function getDefaultValueOrFail($parameter){ |
157 | - if (!$parameter->isDefaultValueAvailable()) |
|
158 | - throw new InvalidArgumentException("Unable to map input to command: {$parameter->getName()}"); |
|
157 | + if (!$parameter->isDefaultValueAvailable()) { |
|
158 | + throw new InvalidArgumentException("Unable to map input to command: {$parameter->getName()}"); |
|
159 | + } |
|
159 | 160 | |
160 | 161 | return $parameter->getDefaultValue(); |
161 | 162 | } |