Completed
Push — master ( d3bbed...3b8a52 )
by Dmitry
01:36
created
src/Entity.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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()
Please login to merge, or discard this patch.