@@ -20,7 +20,7 @@ |
||
20 | 20 | public function getPlugin($mixed) |
21 | 21 | { |
22 | 22 | if (!is_subclass_of($mixed, Plugin::class)) { |
23 | - throw new Exception("Plugin should extend " . Plugin::class . " class"); |
|
23 | + throw new Exception("Plugin should extend ".Plugin::class." class"); |
|
24 | 24 | } |
25 | 25 | |
26 | 26 | $plugin = is_object($mixed) ? $mixed : new $mixed($this); |
@@ -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', |