@@ -54,7 +54,7 @@ |
||
54 | 54 | |
55 | 55 | $hydrator = new EntityHydrator( |
56 | 56 | $this->getEntityManager($container, $entityManager, $requestedName), |
57 | - isset($options['by_value']) ? (bool)$options['by_value'] : true, |
|
57 | + isset($options['by_value']) ? (bool) $options['by_value'] : true, |
|
58 | 58 | $inflector |
59 | 59 | ); |
60 | 60 |
@@ -214,7 +214,7 @@ |
||
214 | 214 | } |
215 | 215 | } |
216 | 216 | |
217 | - return array_filter($collection, static fn ($item) => null !== $item); |
|
217 | + return array_filter($collection, static fn($item) => null !== $item); |
|
218 | 218 | } |
219 | 219 | |
220 | 220 | /** |
@@ -47,7 +47,7 @@ |
||
47 | 47 | $identifier = $metadata->getIdentifier(); |
48 | 48 | |
49 | 49 | if (!is_array($values) && !$values instanceof \Traversable) { |
50 | - $values = (array)$values; |
|
50 | + $values = (array) $values; |
|
51 | 51 | } |
52 | 52 | |
53 | 53 | $collection = []; |
@@ -116,7 +116,7 @@ |
||
116 | 116 | array $params, |
117 | 117 | ?Configuration $configurationArg, |
118 | 118 | ?EventManager $eventManagerArg |
119 | - ) use ($connection, $defaultConfig, $config, $configuration, $eventManager): Connection { |
|
119 | + ) use ($connection, $defaultConfig, $config, $configuration, $eventManager) : Connection { |
|
120 | 120 | Assert::assertSame($configurationArg, $configuration); |
121 | 121 | Assert::assertSame($eventManagerArg, $eventManager); |
122 | 122 | Assert::assertSame( |