@@ -382,7 +382,7 @@ discard block |
||
382 | 382 | 'entityId' => $id, |
383 | 383 | 'parent' => $node ? $node->id : 0, |
384 | 384 | ]; |
385 | - if (count($config) == $i+1) { |
|
385 | + if (count($config) == $i + 1) { |
|
386 | 386 | $params['begin'] = $link['begin']; |
387 | 387 | $params['timestamp'] = 0; |
388 | 388 | } |
@@ -461,7 +461,7 @@ discard block |
||
461 | 461 | $this->mapper->getPlugin(Sequence::class); |
462 | 462 | } |
463 | 463 | |
464 | - $this->mapper->getSchema()->once(__CLASS__.'@entity', function (Mapper $mapper) { |
|
464 | + $this->mapper->getSchema()->once(__CLASS__.'@entity', function(Mapper $mapper) { |
|
465 | 465 | $this->mapper->getSchema() |
466 | 466 | ->createSpace('_temporal_entity', [ |
467 | 467 | 'id' => 'unsigned', |
@@ -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() |