@@ -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\Scheme; |
5 | 5 | |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | $result = $this->db->execute("pragma table_info(`{$table}`)")->fetchAll(PDO::FETCH_ASSOC); |
35 | 35 | |
36 | 36 | return array_map( |
37 | - function ($field) { |
|
37 | + function($field) { |
|
38 | 38 | return [ |
39 | 39 | 'name' => $field['name'], |
40 | 40 | 'type' => strtolower($field['type']), |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace SimpleCrud\Scheme; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace SimpleCrud\Fields; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace SimpleCrud; |
5 | 5 |
@@ -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 | |
@@ -311,7 +311,7 @@ discard block |
||
311 | 311 | if ($fromDatabase) { |
312 | 312 | $rows = $this->createCollection( |
313 | 313 | array_map( |
314 | - function ($data): Row { |
|
314 | + function($data): Row { |
|
315 | 315 | return $this->create($data, true); |
316 | 316 | }, |
317 | 317 | $rows |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace SimpleCrud; |
5 | 5 |