Passed
Pull Request — master (#2)
by Alex
02:59
created
src/Hydrator/Strategy/HydratorCollectionStrategy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -206,7 +206,7 @@
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/Hydrator/EntityHydrator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 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, '\\'));
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
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 */
Please login to merge, or discard this patch.
test/unit/Service/Connection/ConnectionFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
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(
Please login to merge, or discard this patch.