@@ -99,8 +99,8 @@ discard block |
||
99 | 99 | * |
100 | 100 | * @see Record::INDEXES |
101 | 101 | */ |
102 | - const INDEX = 1000; //Default index type |
|
103 | - const UNIQUE = 2000; //Unique index definition |
|
102 | + const INDEX = 1000; //Default index type |
|
103 | + const UNIQUE = 2000; //Unique index definition |
|
104 | 104 | |
105 | 105 | /* |
106 | 106 | * ================================================ |
@@ -357,7 +357,7 @@ discard block |
||
357 | 357 | ); |
358 | 358 | |
359 | 359 | if (!empty($this->insertCommand)) { |
360 | - $this->insertCommand->onExecute(function (InsertCommand $insert) use ($command) { |
|
360 | + $this->insertCommand->onExecute(function(InsertCommand $insert) use ($command) { |
|
361 | 361 | //Sync primary key values |
362 | 362 | $command->setPrimary($insert->lastInsertID()); |
363 | 363 | }); |
@@ -396,7 +396,7 @@ discard block |
||
396 | 396 | |
397 | 397 | private function syncState(): \Closure |
398 | 398 | { |
399 | - return function ($command) { |
|
399 | + return function($command) { |
|
400 | 400 | dump($command); |
401 | 401 | }; |
402 | 402 |
@@ -78,7 +78,7 @@ |
||
78 | 78 | */ |
79 | 79 | public function primaryKey(): string |
80 | 80 | { |
81 | - return $this->getAlias() . '.' . $this->schema[Record::SH_PRIMARY_KEY]; |
|
81 | + return $this->getAlias().'.'.$this->schema[Record::SH_PRIMARY_KEY]; |
|
82 | 82 | } |
83 | 83 | |
84 | 84 | /** |