@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Tarantool\Mapper; |
4 | 4 | |
5 | 5 | use BadMethodCallException; |
6 | -use Tarantool\Mapper\Plugin\Annotation; |
|
7 | 6 | |
8 | 7 | class Entity |
9 | 8 | { |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | 'id' => $this->$property, |
37 | 37 | ]); |
38 | 38 | } |
39 | - } else if(strpos($property, 'Collection') !== false) { |
|
39 | + } else if (strpos($property, 'Collection') !== false) { |
|
40 | 40 | $property = substr($property, 0, -10); |
41 | 41 | $targetSpace = $mapper->getSchema()->toUnderscore($property); |
42 | 42 | if ($mapper->getSchema()->hasSpace($targetSpace)) { |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | } |
59 | 59 | } |
60 | 60 | } |
61 | - throw new BadMethodCallException("Call to undefined method ". get_class($this).'::'.$name); |
|
61 | + throw new BadMethodCallException("Call to undefined method ".get_class($this).'::'.$name); |
|
62 | 62 | } |
63 | 63 | |
64 | 64 | public function __debugInfo() |