Test Failed
Pull Request — master (#2)
by Alex
04:49 queued 01:37
created
test/unit/Service/Connection/ConnectionFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
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(
Please login to merge, or discard this patch.
src/Hydrator/EntityHydrator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
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, '\\'));
Please login to merge, or discard this patch.