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