@@ -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 |
@@ -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( |
@@ -46,7 +46,7 @@ |
||
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, '\\')); |