@@ -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 |
@@ -206,7 +206,7 @@ |
||
206 | 206 | : $entity; |
207 | 207 | } |
208 | 208 | |
209 | - return array_filter($collection, static fn ($item) => null !== $item); |
|
209 | + return array_filter($collection, static fn($item) => null !== $item); |
|
210 | 210 | } |
211 | 211 | |
212 | 212 | /** |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | protected function toMany($object, $collectionName, $target, $values): void |
47 | 47 | { |
48 | 48 | if (!is_iterable($values)) { |
49 | - $values = (array)$values; |
|
49 | + $values = (array) $values; |
|
50 | 50 | } |
51 | 51 | |
52 | 52 | $metadata = $this->objectManager->getClassMetadata(ltrim($target, '\\')); |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | |
81 | 81 | $collection = array_filter( |
82 | 82 | $collection, |
83 | - static fn ($item) => null !== $item |
|
83 | + static fn($item) => null !== $item |
|
84 | 84 | ); |
85 | 85 | |
86 | 86 | /** @var AbstractCollectionStrategy $collectionStrategy */ |
@@ -122,7 +122,7 @@ |
||
122 | 122 | $config, |
123 | 123 | $configuration, |
124 | 124 | $eventManager |
125 | - ): Connection { |
|
125 | + ) : Connection { |
|
126 | 126 | Assert::assertSame($configurationArg, $configuration); |
127 | 127 | Assert::assertSame($eventManagerArg, $eventManager); |
128 | 128 | Assert::assertSame( |