Completed
Push — master ( 273e9a...1e1852 )
by Dmitry
01:47
created
src/Mapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Plugin/Temporal.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -382,7 +382,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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',
Please login to merge, or discard this patch.