@@ -305,7 +305,7 @@ |
||
| 305 | 305 | $class === null ? [] : [ArrayDefinition::CLASS_NAME => $class], |
| 306 | 306 | [ArrayDefinition::CONSTRUCTOR => $constructorArguments], |
| 307 | 307 | // extract only value from parsed definition method |
| 308 | - array_map(fn (array $data): mixed => $data[2], $methodsAndProperties), |
|
| 308 | + array_map(fn (array $data) : mixed => $data[2], $methodsAndProperties), |
|
| 309 | 309 | ); |
| 310 | 310 | } |
| 311 | 311 | |
@@ -640,7 +640,7 @@ |
||
| 640 | 640 | * '__construct()': array, |
| 641 | 641 | * methodsAndProperties: array<string, MethodOrPropertyItem> |
| 642 | 642 | * } $definition |
| 643 | - */ |
|
| 643 | + */ |
|
| 644 | 644 | if (empty($class)) { |
| 645 | 645 | $class = $definition[ArrayDefinition::CLASS_NAME]; |
| 646 | 646 | } |