@@ -19,11 +19,11 @@ |
||
19 | 19 | public function getIteratorYeildsResults() |
20 | 20 | { |
21 | 21 | $iterator = new ArrayIterator( |
22 | - [ |
|
23 | - ['id' => 1, 'price' => 1.0], |
|
24 | - ['id' => 2, 'price' => 2.0], |
|
25 | - ['id' => 2, 'price' => 2.0], |
|
26 | - ] |
|
22 | + [ |
|
23 | + ['id' => 1, 'price' => 1.0], |
|
24 | + ['id' => 2, 'price' => 2.0], |
|
25 | + ['id' => 2, 'price' => 2.0], |
|
26 | + ] |
|
27 | 27 | ); |
28 | 28 | |
29 | 29 | $selector = function (array $item) : array { |
@@ -26,7 +26,7 @@ |
||
26 | 26 | ] |
27 | 27 | ); |
28 | 28 | |
29 | - $selector = function (array $item) : array { |
|
29 | + $selector = function(array $item) : array { |
|
30 | 30 | return ['id' => $item['id']]; |
31 | 31 | }; |
32 | 32 |