Completed
Branch feature/pre-split (cb15b4)
by Anton
03:23
created
source/Spiral/ORM/RecordEntity.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -105,8 +105,8 @@  discard block
 block discarded – undo
105 105
      *
106 106
      * @see Record::INDEXES
107 107
      */
108
-    const INDEX  = 1000;            //Default index type
109
-    const UNIQUE = 2000;            //Unique index definition
108
+    const INDEX  = 1000; //Default index type
109
+    const UNIQUE = 2000; //Unique index definition
110 110
 
111 111
     /*
112 112
      * ================================================
@@ -496,7 +496,7 @@  discard block
 block discarded – undo
496 496
         );
497 497
 
498 498
         //Executed when transaction successfully completed
499
-        $command->onComplete(function () {
499
+        $command->onComplete(function() {
500 500
             $this->setState(ORMInterface::STATE_LOADED);
501 501
             $this->flushUpdates();
502 502
             $this->dispatch('created', new RecordEvent($this));
@@ -522,7 +522,7 @@  discard block
 block discarded – undo
522 522
         );
523 523
 
524 524
         //Executed when transaction successfully completed
525
-        $command->onComplete(function () {
525
+        $command->onComplete(function() {
526 526
             $this->setState(ORMInterface::STATE_LOADED);
527 527
             $this->flushUpdates();
528 528
             $this->dispatch('updated', new RecordEvent($this));
@@ -547,7 +547,7 @@  discard block
 block discarded – undo
547 547
         );
548 548
 
549 549
         //Executed when transaction successfully completed
550
-        $command->onComplete(function () {
550
+        $command->onComplete(function() {
551 551
             $this->setState(ORMInterface::STATE_DELETED);
552 552
             $this->dispatch('deleted', new RecordEvent($this));
553 553
         });
Please login to merge, or discard this patch.