@@ -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 { |
@@ -185,7 +185,7 @@ |
||
| 185 | 185 | $expected = [ |
| 186 | 186 | 'id' => '58339e95d5200', |
| 187 | 187 | 'title' => "XML Developer's Guide", |
| 188 | - 'salePrice' => 40.46, |
|
| 188 | + 'salePrice' => 40.46, |
|
| 189 | 189 | ]; |
| 190 | 190 | |
| 191 | 191 | $this->assertSame($actual, $expected); |