Test Failed
Pull Request — master (#8)
by Alex
14:13 queued 05:37
created
src/Persistence/PersistService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@
 block discarded – undo
188 188
             $this->dispatchEvent($this->createErrorEvent(EntityEventName::DELETE_COLLECTION_ERROR, $e));
189 189
         }
190 190
 
191
-        return (int)$event->getParam('deleted_count', 0);
191
+        return (int) $event->getParam('deleted_count', 0);
192 192
     }
193 193
 
194 194
     /**
Please login to merge, or discard this patch.
test/unit/EntityRepositoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
 
124 124
         $entityId = 'FOO123';
125 125
 
126
-        $exceptionMessage = 'This is a test exception message for '  . __FUNCTION__;
126
+        $exceptionMessage = 'This is a test exception message for ' . __FUNCTION__;
127 127
         $exceptionCode = 123;
128 128
         $exception = new QueryServiceException($exceptionMessage, $exceptionCode);
129 129
 
Please login to merge, or discard this patch.
src/Persistence/AbstractCascadeService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -174,7 +174,7 @@
 block discarded – undo
174 174
              * Note that we are hard coding the '0' key as the single field the we use as the id/primary key.
175 175
              * If we implement EntityInterface correctly we will never have a composite key.
176 176
              */
177
-            return isset($mapping['joinColumns'][0]['nullable']) && (bool)$mapping['joinColumns'][0]['nullable'];
177
+            return isset($mapping['joinColumns'][0]['nullable']) && (bool) $mapping['joinColumns'][0]['nullable'];
178 178
         }
179 179
 
180 180
         return (is_iterable($entityOrCollection) || $entityOrCollection instanceof EntityInterface);
Please login to merge, or discard this patch.