@@ -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 | } |
@@ -225,7 +225,7 @@ |
||
| 225 | 225 | if (isset($definition[self::DEFINITION_META])) { |
| 226 | 226 | $newDefinition = $definition[self::DEFINITION_META]; |
| 227 | 227 | unset($definition[self::DEFINITION_META]); |
| 228 | - $meta = array_filter($definition, static function ($key) { |
|
| 228 | + $meta = array_filter($definition, static function($key) { |
|
| 229 | 229 | return in_array($key, self::ALLOWED_META, true); |
| 230 | 230 | }, ARRAY_FILTER_USE_KEY); |
| 231 | 231 | $definition = $newDefinition; |