@@ -190,7 +190,7 @@ discard block |
||
190 | 190 | |
191 | 191 | $dictionary = new Simple('test'); |
192 | 192 | $dictionary->setDataProvider($dataProviderMock); |
193 | - $dictionary->setDefaultView(function ($rows) { |
|
193 | + $dictionary->setDefaultView(function($rows) { |
|
194 | 194 | foreach ($rows as $key => $row) { |
195 | 195 | yield $key . ' ' . $row; |
196 | 196 | } |
@@ -365,7 +365,7 @@ discard block |
||
365 | 365 | |
366 | 366 | self::assertEquals($data, $dictionary->toArray()); |
367 | 367 | |
368 | - self::assertEquals(['a' => 0, 'b' => 2, 'c' => 4], $dictionary->toArray(function ($data) { |
|
368 | + self::assertEquals(['a' => 0, 'b' => 2, 'c' => 4], $dictionary->toArray(function($data) { |
|
369 | 369 | foreach ($data as $key => $value) { |
370 | 370 | yield $key => $value * 2; |
371 | 371 | } |