Passed
Pull Request — master (#10)
by
unknown
08:56
created
src/EntityManager/DoctrineEntityManager.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
      */
81 81
     public function delete($objectName, $id)
82 82
     {
83
-        return (bool)$this->executeActionOnEntity('remove', $objectName, $id);
83
+        return (bool) $this->executeActionOnEntity('remove', $objectName, $id);
84 84
     }
85 85
 
86 86
     /**
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,8 +28,7 @@
 block discarded – undo
28 28
         if (empty($criteria))
29 29
         {
30 30
             $entityObject = $repository->find($id);
31
-        }
32
-        else
31
+        } else
33 32
         {
34 33
             $criteria['id'] = $id;
35 34
             $entityObject = $repository->findOneBy($criteria);
Please login to merge, or discard this patch.