Completed
Push — master ( cc5af7...6c15a2 )
by Dmitry
02:05
created
src/Entity.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
                         'id' => $this->$property,
40 40
                     ]);
41 41
                 }
42
-            } else if(strpos($property, 'Collection') !== false) {
42
+            } else if (strpos($property, 'Collection') !== false) {
43 43
                 $property = substr($property, 0, -10);
44 44
                 $targetSpace = $mapper->getSchema()->toUnderscore($property);
45 45
                 if ($mapper->getSchema()->hasSpace($targetSpace)) {
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
                 }
62 62
             }
63 63
         }
64
-        throw new BadMethodCallException("Call to undefined method ". get_class($this).'::'.$name);
64
+        throw new BadMethodCallException("Call to undefined method ".get_class($this).'::'.$name);
65 65
     }
66 66
 
67 67
     public function sync() : Entity
Please login to merge, or discard this patch.