@@ -18,7 +18,7 @@ |
||
| 18 | 18 | public function hasDefinitionFor(string $id): bool; |
| 19 | 19 | |
| 20 | 20 | /** |
| 21 | - * @return string[] a list of IDs of services provided |
|
| 22 | - */ |
|
| 21 | + * @return string[] a list of IDs of services provided |
|
| 22 | + */ |
|
| 23 | 23 | public function provides(): array; |
| 24 | 24 | } |
@@ -75,7 +75,7 @@ |
||
| 75 | 75 | $this->containers[$context] = [ |
| 76 | 76 | $container, |
| 77 | 77 | ]; |
| 78 | - uksort($this->containers, static function (string $a, string $b) { |
|
| 78 | + uksort($this->containers, static function(string $a, string $b) { |
|
| 79 | 79 | return mb_strlen($b) <=> mb_strlen($a); |
| 80 | 80 | }); |
| 81 | 81 | } |
@@ -295,7 +295,7 @@ |
||
| 295 | 295 | { |
| 296 | 296 | $provider = Normalizer::normalize($providerDefinition)->resolve($this); |
| 297 | 297 | assert($provider instanceof ServiceProviderInterface, new InvalidConfigException( |
| 298 | - sprintf('Service provider should be an instance of %s. %s given.', ServiceProviderInterface::class, $this->getVariableType($provider) |
|
| 298 | + sprintf('Service provider should be an instance of %s. %s given.', ServiceProviderInterface::class, $this->getVariableType($provider) |
|
| 299 | 299 | ))); |
| 300 | 300 | |
| 301 | 301 | return $provider; |