Passed
Push — 1.x ( ed32ac...ad97f5 )
by Ulises Jeremias
02:42
created
Mbh/Collection/Traits/Sequenceable.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
      */
190 190
     public function remove(int $index)
191 191
     {
192
-        if (! $this->validIndex($index)) {
192
+        if (!$this->validIndex($index)) {
193 193
             throw new OutOfRangeException();
194 194
         }
195 195
         $value = array_splice($this->array, $index, 1, null)[0];
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
      */
203 203
     public function set(int $index, $value)
204 204
     {
205
-        if (! $this->validIndex($index)) {
205
+        if (!$this->validIndex($index)) {
206 206
             throw new OutOfRangeException();
207 207
         }
208 208
 
Please login to merge, or discard this patch.