Passed
Branch master (c6716c)
by Martins
03:37
created
src/Node.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace MartanLV\Koki;
5 5
 
Please login to merge, or discard this patch.
src/Interval.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -29,11 +29,11 @@
 block discarded – undo
29 29
 
30 30
     public function getEnd(): int
31 31
     {
32
-		return $this->high;
33
-	}
32
+        return $this->high;
33
+    }
34 34
 
35 35
     public function getStart(): int
36 36
     {
37
-		return $this->low;
38
-	}
37
+        return $this->low;
38
+    }
39 39
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace MartanLV\Koki;
5 5
 
Please login to merge, or discard this patch.
src/Tree.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace MartanLV\Koki;
6 6
 
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
             return null;
41 41
         }
42 42
 
43
-        array_walk($intervals, function (IntervalInterface $el) use (&$max) {
43
+        array_walk($intervals, function(IntervalInterface $el) use (&$max) {
44 44
             if ($max < $el->getEnd()) {
45 45
                 $max = $el->getEnd();
46 46
             }
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      */
67 67
     public function select(int $low, int $high): array
68 68
     {
69
-        return $this->root ? $this->root->select($low, $high) : [];
69
+        return $this->root ? $this->root->select($low, $high) : [ ];
70 70
     }
71 71
 
72 72
     /**
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
     public function yieldSelect(int $low, int $high)
86 86
     {
87
-        return $this->root ? $this->root->yieldSelect($low, $high) : [];
87
+        return $this->root ? $this->root->yieldSelect($low, $high) : [ ];
88 88
     }
89 89
 
90 90
     /**
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
      */
94 94
     public function all(): array
95 95
     {
96
-        return $this->root ? $this->root->all() : [];
96
+        return $this->root ? $this->root->all() : [ ];
97 97
     }
98 98
 
99 99
     /**
@@ -103,6 +103,6 @@  discard block
 block discarded – undo
103 103
      */
104 104
     public function yieldAll()
105 105
     {
106
-        return $this->root ? $this->root->yieldAll() : [];
106
+        return $this->root ? $this->root->yieldAll() : [ ];
107 107
     }
108 108
 }
Please login to merge, or discard this patch.
src/IntervalInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace MartanLV\Koki;
5 5
 
Please login to merge, or discard this patch.