Completed
Push — master ( c10a0d...eac441 )
by Jesse
04:32
created
src/Altering.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,8 +26,8 @@
 block discarded – undo
26 26
      */
27 27
     public function change(int $index, $newItem)
28 28
     {
29
-        $items = $this->items();
30
-        $items[$index] = $newItem;
29
+        $items=$this->items();
30
+        $items[$index]=$newItem;
31 31
         return $this->newCopy($items);
32 32
     }
33 33
 
Please login to merge, or discard this patch.
src/Purging.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      */
26 26
     public function delete(int $index)
27 27
     {
28
-        $items = $this->items();
28
+        $items=$this->items();
29 29
         unset($items[$index]);
30 30
         return $this->newCopy($items);
31 31
     }
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     {
40 40
         return $this->newCopy(array_filter(
41 41
             $this->items(),
42
-            function ($item) use ($itemsToRemove) {
42
+            function($item) use ($itemsToRemove) {
43 43
                 return !in_array($item, $itemsToRemove, true);
44 44
             }
45 45
         ));
Please login to merge, or discard this patch.