@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | * @param object|callable|string $definition |
| 90 | 90 | * @return void |
| 91 | 91 | */ |
| 92 | - public function set(string $id, object|callable|string $definition): void |
|
| 92 | + public function set(string $id, object | callable | string $definition): void |
|
| 93 | 93 | { |
| 94 | 94 | if (array_key_exists($id, $this->instances)) { |
| 95 | 95 | unset($this->instances[$id]); |
@@ -157,7 +157,7 @@ discard block |
||
| 157 | 157 | $type = $param->getType(); |
| 158 | 158 | |
| 159 | 159 | if (!is_null($type)) { |
| 160 | - $type = (string)$type; |
|
| 160 | + $type = (string) $type; |
|
| 161 | 161 | } |
| 162 | 162 | |
| 163 | 163 | if (!is_null($type) && (class_exists($type) || interface_exists($type))) { |