@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | */ |
75 | 75 | public function push(int $priority, callable $then): void |
76 | 76 | { |
77 | - if (! \array_key_exists($priority, $this->queue)) { |
|
77 | + if (!\array_key_exists($priority, $this->queue)) { |
|
78 | 78 | $this->queue[$priority] = $this->createList(); |
79 | 79 | } |
80 | 80 | |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | */ |
95 | 95 | public function count(): int |
96 | 96 | { |
97 | - return (int)\array_reduce($this->queue, function (int $result, \SplQueue $queue): int { |
|
97 | + return (int) \array_reduce($this->queue, function(int $result, \SplQueue $queue): int { |
|
98 | 98 | return $result + $queue->count(); |
99 | 99 | }, 0); |
100 | 100 | } |
@@ -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 | } |
@@ -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 | }); |