@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | $this->extractConstructorArguments($staticFactoryMethod); |
| 38 | 38 | |
| 39 | 39 | $missingConstructorArguments = transform($this->constructorArguments) |
| 40 | - ->remove(static function (string $key) use ($arguments) { |
|
| 40 | + ->remove(static function(string $key) use ($arguments) { |
|
| 41 | 41 | return \array_key_exists($key, $arguments); |
| 42 | 42 | }) |
| 43 | 43 | ->toArray() |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | */ |
| 60 | 60 | final protected function setArgument($name, $value) |
| 61 | 61 | { |
| 62 | - if (! \array_key_exists($name, $this->arguments)) { |
|
| 62 | + if (!\array_key_exists($name, $this->arguments)) { |
|
| 63 | 63 | throw new \InvalidArgumentException("There is no argument $name"); |
| 64 | 64 | } |
| 65 | 65 | $this->arguments[$name] = $value; |