@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | */ |
| 69 | 69 | public function get($id): object |
| 70 | 70 | { |
| 71 | - if (! Validator::stringType()->validate($id)) { |
|
| 71 | + if (!Validator::stringType()->validate($id)) { |
|
| 72 | 72 | throw new ContainerException('Identifier is not a string'); |
| 73 | 73 | } |
| 74 | 74 | return $this->resolveInstance($id); |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | throw new ContainerException(sprintf('Class "%s" does not exists', $class)); |
| 126 | 126 | } |
| 127 | 127 | |
| 128 | - if (! $reflection->isInstantiable()) { |
|
| 128 | + if (!$reflection->isInstantiable()) { |
|
| 129 | 129 | throw new ContainerException(sprintf('Class "%s" is not instantiable', $class)); |
| 130 | 130 | } |
| 131 | 131 | return $this->buildInstance($reflection); |