@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | /* |
70 | 70 | * Use the each() method to set the position property in the item. |
71 | 71 | */ |
72 | -$itemsEx->each(function (Item $item, $key) { |
|
72 | +$itemsEx->each(function(Item $item, $key) { |
|
73 | 73 | $item->position = $key; |
74 | 74 | }); |
75 | 75 | |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | * Use the each() method to make further changes to the position property of |
83 | 83 | * the cloned collection. |
84 | 84 | */ |
85 | -$itemsEx2->each(function (Item $item, $key) { |
|
85 | +$itemsEx2->each(function(Item $item, $key) { |
|
86 | 86 | $item->position += $key; |
87 | 87 | }); |
88 | 88 |