@@ -39,7 +39,7 @@ discard block |
||
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 |
||
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 |