Completed
Pull Request — master (#115)
by Alex
06:50
created
src/Models/MetadataGubbinsHolder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
     {
11 11
         $className = $entity->getClassName();
12 12
         if (array_key_exists($className, $this->relations)) {
13
-            $msg = $className.' already added';
13
+            $msg = $className . ' already added';
14 14
             throw new \InvalidArgumentException($msg);
15 15
         }
16 16
         $this->relations[$className] = $entity;
Please login to merge, or discard this patch.
src/Models/AssociationStubBase.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
         $thisMono = $this instanceof AssociationStubMonomorphic;
96 96
         $thatMono = $otherStub instanceof AssociationStubMonomorphic;
97 97
 
98
-        $count = ($thisPoly ? 1 : 0) + ($thatPoly ? 1 : 0) + ($thisMono ? 1 : 0) + ($thatMono ? 1 : 0);
98
+        $count = ($thisPoly ? 1 : 0)+($thatPoly ? 1 : 0)+($thisMono ? 1 : 0)+($thatMono ? 1 : 0);
99 99
         assert(2 == $count);
100 100
 
101 101
         if ($thisPoly && $thatMono) {
Please login to merge, or discard this patch.