@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | public function register( |
| 104 | 104 | string $name, |
| 105 | 105 | mixed $definition = null, |
| 106 | - string|Scope $scope = Scope::SINGLETON, |
|
| 106 | + string | Scope $scope = Scope::SINGLETON, |
|
| 107 | 107 | array $parameters = [] |
| 108 | 108 | ): Container { |
| 109 | 109 | if (!$definition instanceof DefinitionInterface) { |
@@ -217,7 +217,7 @@ discard block |
||
| 217 | 217 | protected function createDefinition( |
| 218 | 218 | mixed $value, |
| 219 | 219 | array $parameters = [] |
| 220 | - ): Value|Alias|Factory { |
|
| 220 | + ): Value | Alias | Factory { |
|
| 221 | 221 | if (is_callable($value)) { |
| 222 | 222 | return new Factory($value, $parameters); |
| 223 | 223 | } |
@@ -234,7 +234,7 @@ discard block |
||
| 234 | 234 | * |
| 235 | 235 | * @return Value|Alias |
| 236 | 236 | */ |
| 237 | - protected function createValueDefinition(mixed $value): Value|Alias |
|
| 237 | + protected function createValueDefinition(mixed $value): Value | Alias |
|
| 238 | 238 | { |
| 239 | 239 | if (is_string($value) && str_contains($value, '@')) { |
| 240 | 240 | return new Alias($value); |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | public function register( |
| 36 | 36 | string $name, |
| 37 | 37 | mixed $definition = null, |
| 38 | - string|Scope $scope = Scope::SINGLETON, |
|
| 38 | + string | Scope $scope = Scope::SINGLETON, |
|
| 39 | 39 | array $parameters = [] |
| 40 | 40 | ): Container; |
| 41 | 41 | |