@@ -31,11 +31,11 @@ |
||
| 31 | 31 | { |
| 32 | 32 | parent::boot($env); |
| 33 | 33 | |
| 34 | - $this->transaction($this->definition, function () { |
|
| 34 | + $this->transaction($this->definition, function() { |
|
| 35 | 35 | $this->register(); |
| 36 | 36 | }); |
| 37 | 37 | |
| 38 | - $this->future(Pipeline::PRIORITY_DEFINITION, function () { |
|
| 38 | + $this->future(Pipeline::PRIORITY_DEFINITION, function() { |
|
| 39 | 39 | $this->addDescription($this->definition, $this); |
| 40 | 40 | }); |
| 41 | 41 | } |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | private function bootValues(EnumDefinition $enum): void |
| 55 | 55 | { |
| 56 | 56 | foreach ($this->getEnumValues($enum) as $value) { |
| 57 | - $this->transaction($value, function (EnumValueDefinition $value) use ($enum): void { |
|
| 57 | + $this->transaction($value, function(EnumValueDefinition $value) use ($enum): void { |
|
| 58 | 58 | $this->verifyDuplication($enum, $value); |
| 59 | 59 | |
| 60 | 60 | $enum->withValue($value); |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | foreach ($this->first('EnumValues', 1) as $ast) { |
| 73 | 73 | $enumValue = $this->createEnumValue($enum, $ast->first('T_NAME', 1)); |
| 74 | 74 | |
| 75 | - $this->transaction($enumValue, function (EnumValueDefinition $def) use ($ast): void { |
|
| 75 | + $this->transaction($enumValue, function(EnumValueDefinition $def) use ($ast): void { |
|
| 76 | 76 | //$this->withDescription($def, $ast); |
| 77 | 77 | |
| 78 | 78 | /** @var RuleInterface $defValue */ |
@@ -75,8 +75,8 @@ |
||
| 75 | 75 | */ |
| 76 | 76 | protected function future(int $priority, callable $then): void |
| 77 | 77 | { |
| 78 | - $this->pipeline->push($priority, function () use ($then) { |
|
| 79 | - $this->transaction($this->definition, function () use ($then) { |
|
| 78 | + $this->pipeline->push($priority, function() use ($then) { |
|
| 79 | + $this->transaction($this->definition, function() use ($then) { |
|
| 80 | 80 | $then(); |
| 81 | 81 | }); |
| 82 | 82 | }); |