@@ -309,7 +309,7 @@ discard block |
||
309 | 309 | $class === null ? [] : [ArrayDefinition::CLASS_NAME => $class], |
310 | 310 | [ArrayDefinition::CONSTRUCTOR => $constructorArguments], |
311 | 311 | // extract only value from parsed definition method |
312 | - array_map(fn (array $data): mixed => $data[2], $methodsAndProperties), |
|
312 | + array_map(fn (array $data) : mixed => $data[2], $methodsAndProperties), |
|
313 | 313 | ); |
314 | 314 | } |
315 | 315 | |
@@ -330,7 +330,7 @@ discard block |
||
330 | 330 | /** @var mixed $value */ |
331 | 331 | /** @psalm-suppress MixedAssignment */ |
332 | 332 | foreach ($meta as $key => $value) { |
333 | - $key = (string)$key; |
|
333 | + $key = (string) $key; |
|
334 | 334 | if (!in_array($key, self::ALLOWED_META, true)) { |
335 | 335 | throw new InvalidConfigException( |
336 | 336 | sprintf( |
@@ -426,7 +426,7 @@ discard block |
||
426 | 426 | } |
427 | 427 | /** @psalm-var iterable<string, iterable<string>> $tags */ |
428 | 428 | |
429 | - $this->tags = $tags instanceof Traversable ? iterator_to_array($tags, true) : $tags ; |
|
429 | + $this->tags = $tags instanceof Traversable ? iterator_to_array($tags, true) : $tags; |
|
430 | 430 | } |
431 | 431 | |
432 | 432 | /** |