@@ -24,7 +24,7 @@ |
||
24 | 24 | */ |
25 | 25 | public function testSetDataFromConfig() |
26 | 26 | { |
27 | - $callable = function ($b) { |
|
27 | + $callable = function($b) { |
|
28 | 28 | return [111, $b]; |
29 | 29 | }; |
30 | 30 |
@@ -70,7 +70,7 @@ |
||
70 | 70 | */ |
71 | 71 | public function testSetGetDefaultView() |
72 | 72 | { |
73 | - $callable = function () { |
|
73 | + $callable = function() { |
|
74 | 74 | }; |
75 | 75 | |
76 | 76 | $config = new BasicConfig(); |
@@ -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 | } |