@@ -105,8 +105,8 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 | }); |