Passed
Branch master (60cb8c)
by Mariusz
03:21
created
Category
lib/Loader/DoctrineOrmEntityLoader.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
     {
154 154
         return array_filter(
155 155
             $entities,
156
-            function ($entity) {
156
+            function($entity) {
157 157
                 return $entity instanceof Proxy && !$entity->__isInitialized();
158 158
             }
159 159
         );
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
     {
169 169
         return array_filter(
170 170
             array_map(
171
-                function (Collection $collection) {
171
+                function(Collection $collection) {
172 172
                     if (
173 173
                         $collection instanceof PersistentCollection
174 174
                         && !$collection->isInitialized()
Please login to merge, or discard this patch.
lib/BufferedCollector/BufferedCollector.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
         $bufferedCollect = new BufferedCollect($objects, $associationPath);
47 47
         $this->bufferedCollects[] = $bufferedCollect;
48 48
 
49
-        return function () use ($bufferedCollect) {
49
+        return function() use ($bufferedCollect) {
50 50
             if (!empty($this->bufferedCollects)) {
51 51
                 $this->resolveSimilar($bufferedCollect);
52 52
             }
Please login to merge, or discard this patch.
lib/Metadata/MetadataWrapperProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -33,12 +33,12 @@  discard block
 block discarded – undo
33 33
     public function getClassMetadataWrapperByObjects(array $objects)
34 34
     {
35 35
         $classNames = array_unique(array_map(
36
-            function ($object) { return get_class($object); },
36
+            function($object) { return get_class($object); },
37 37
             $objects
38 38
         ));
39 39
 
40 40
         $classMetadataWrappers = array_map(
41
-            function (string $className) { return $this->getClassMetadataWrapperByClassName($className); },
41
+            function(string $className) { return $this->getClassMetadataWrapperByClassName($className); },
42 42
             $classNames
43 43
         );
44 44
 
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
         }
49 49
 
50 50
         $classNames = array_unique(array_map(
51
-            function (ClassMetadataWrapper $classMetadataWrapper) {
51
+            function(ClassMetadataWrapper $classMetadataWrapper) {
52 52
                 return $classMetadataWrapper->getClassName();
53 53
             },
54 54
             $classMetadataWrappers
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
         }
60 60
 
61 61
         $rootClassNames = array_unique(array_map(
62
-            function (ClassMetadataWrapper $classMetadataWrapper) {
62
+            function(ClassMetadataWrapper $classMetadataWrapper) {
63 63
                 return $classMetadataWrapper->getRootClassName();
64 64
             },
65 65
             $classMetadataWrappers
Please login to merge, or discard this patch.
lib/Metadata/ClassMetadataWrapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
     public function getIdentifierValueForMultiple(array $objects): array
96 96
     {
97 97
         return array_map(
98
-            function ($object) {
98
+            function($object) {
99 99
                 return $this->getIdentifierValueForOne($object);
100 100
             },
101 101
             $objects
Please login to merge, or discard this patch.