@@ -37,7 +37,7 @@ |
||
37 | 37 | } |
38 | 38 | } |
39 | 39 | } |
40 | - throw new BadMethodCallException("Call to undefined method ". get_class($this).'::'.$name); |
|
40 | + throw new BadMethodCallException("Call to undefined method ".get_class($this).'::'.$name); |
|
41 | 41 | } |
42 | 42 | |
43 | 43 | public function __debugInfo() |
@@ -25,7 +25,7 @@ |
||
25 | 25 | |
26 | 26 | public function __call($name, $arguments) |
27 | 27 | { |
28 | - if (strpos($name, 'get') === 0) { |
|
28 | + if (strpos($name, 'get') === 0) { |
|
29 | 29 | $property = strtolower(substr($name, 3)); |
30 | 30 | if (property_exists($this, $property)) { |
31 | 31 | $reference = $this->getRepository()->getSpace()->getReference($property); |