Passed
Push — 1.x ( 1de473...d64718 )
by Ulises Jeremias
02:40
created
Mbh/Tree/Traits/Node.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,8 @@
 block discarded – undo
41 41
     }
42 42
 
43 43
     /**
44
-    * {@inheritdoc}
45
-    */
44
+     * {@inheritdoc}
45
+     */
46 46
     public function setValue($value)
47 47
     {
48 48
         $this->value = $value;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@
 block discarded – undo
172 172
         return array_values(
173 173
             array_filter(
174 174
                 $neighbors,
175
-                function ($item) use ($current) {
175
+                function($item) use ($current) {
176 176
                     return $item != $current;
177 177
                 }
178 178
             )
Please login to merge, or discard this patch.
Mbh/Collection/Interfaces/Sequenceable.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -178,12 +178,12 @@  discard block
 block discarded – undo
178 178
     public function reduce(callable $callback, $accumulator = null);
179 179
 
180 180
     /**
181
-    * Take a slice of the array
182
-    *
183
-    * @param int $begin Start index of slice
184
-    * @param int $end End index of slice
185
-    * @return self
186
-    */
181
+     * Take a slice of the array
182
+     *
183
+     * @param int $begin Start index of slice
184
+     * @param int $end End index of slice
185
+     * @return self
186
+     */
187 187
     public function slice(int $begin = 0, int $end = null): self;
188 188
 
189 189
     /**
@@ -195,13 +195,13 @@  discard block
 block discarded – undo
195 195
     public function sort(callable $callback = null);
196 196
 
197 197
     /**
198
-    * forEach, or "walk" the data
199
-    * Exists primarily to provide a consistent interface, though it's seldom
200
-    * any better than a simple php foreach. Mainly useful for chaining.
201
-    * Named walk for historic reasons - forEach is reserved in PHP
202
-    *
203
-    * @param callable $callback Function to call on each element
204
-    * @return self
205
-    */
198
+     * forEach, or "walk" the data
199
+     * Exists primarily to provide a consistent interface, though it's seldom
200
+     * any better than a simple php foreach. Mainly useful for chaining.
201
+     * Named walk for historic reasons - forEach is reserved in PHP
202
+     *
203
+     * @param callable $callback Function to call on each element
204
+     * @return self
205
+     */
206 206
     public function walk(callable $callback): self;
207 207
 }
Please login to merge, or discard this patch.
Mbh/Collection/Traits/Sequenceable.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,8 +88,8 @@
 block discarded – undo
88 88
     }
89 89
 
90 90
     /**
91
-    * @inheritDoc
92
-    */
91
+     * @inheritDoc
92
+     */
93 93
     public function first()
94 94
     {
95 95
         if ($this->isEmpty()) {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
      */
105 105
     public function get(int $index)
106 106
     {
107
-        if (! $this->validIndex($index)) {
107
+        if (!$this->validIndex($index)) {
108 108
             throw new OutOfRangeException();
109 109
         }
110 110
 
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
      */
117 117
     public function insert(int $index, ...$values)
118 118
     {
119
-        if (! $this->validIndex($index) && $index !== count($this)) {
119
+        if (!$this->validIndex($index) && $index !== count($this)) {
120 120
             throw new OutOfRangeException();
121 121
         }
122 122
 
Please login to merge, or discard this patch.