@@ -41,7 +41,7 @@ |
||
| 41 | 41 | public function getDefinitions() |
| 42 | 42 | { |
| 43 | 43 | return [ |
| 44 | - CommandBus::class => function () { |
|
| 44 | + CommandBus::class => function() { |
|
| 45 | 45 | return new TacticianBus( |
| 46 | 46 | $this->container, |
| 47 | 47 | [ |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | $reflection = new ReflectionClass($command); |
| 23 | 23 | |
| 24 | 24 | if ($constructor = $reflection->getConstructor()) { |
| 25 | - $injected = array_map(function ($parameter) use ($input, $extra) { |
|
| 25 | + $injected = array_map(function($parameter) use ($input, $extra) { |
|
| 26 | 26 | return $this->getParameterValueForCommand($input, $parameter, $extra); |
| 27 | 27 | }, $constructor->getParameters()); |
| 28 | 28 | } |