Completed
Push — master ( ee9170...1dcd4f )
by Kirill
03:45
created
src/Compiler/Pipeline.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Compiler/Definition/TypeDefinitionDelegate.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,11 +31,11 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Compiler/Definition/DefinitionDelegate.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,8 +75,8 @@
 block discarded – undo
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
         });
Please login to merge, or discard this patch.