@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace SimpleCrud; |
5 | 5 | |
@@ -333,7 +333,7 @@ discard block |
||
333 | 333 | public function createCollection(array $rows = []): RowCollection |
334 | 334 | { |
335 | 335 | $rows = array_map( |
336 | - function ($data): Row { |
|
336 | + function($data): Row { |
|
337 | 337 | return is_array($data) ? $this->create($data) : $data; |
338 | 338 | }, |
339 | 339 | $rows |