| @@ -1,5 +1,5 @@ | ||
| 1 | 1 | <?php | 
| 2 | -declare(strict_types = 1); | |
| 2 | +declare(strict_types=1); | |
| 3 | 3 | |
| 4 | 4 | namespace SimpleCrud\Scheme\Traits; | 
| 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\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; | 
| 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 @@ | ||
| 1 | 1 | <?php | 
| 2 | -declare(strict_types = 1); | |
| 2 | +declare(strict_types=1); | |
| 3 | 3 | |
| 4 | 4 | namespace SimpleCrud\Events; | 
| 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\Scheme; | 
| 5 | 5 | |
| @@ -19,7 +19,7 @@ discard block | ||
| 19 | 19 |          $result = $this->pdo->query("DESCRIBE `{$table}`")->fetchAll(PDO::FETCH_ASSOC); | 
| 20 | 20 | |
| 21 | 21 | return array_map( | 
| 22 | -            function ($field) { | |
| 22 | +            function($field) { | |
| 23 | 23 |                  preg_match('#^(\w+)(\((.+)\))?( unsigned)?#', $field['Type'], $matches); | 
| 24 | 24 | |
| 25 | 25 | $info = [ | 
| @@ -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 @@ discard block | ||
| 1 | 1 | <?php | 
| 2 | -declare(strict_types = 1); | |
| 2 | +declare(strict_types=1); | |
| 3 | 3 | |
| 4 | 4 | namespace SimpleCrud\Scheme; | 
| 5 | 5 | |
| @@ -21,7 +21,7 @@ discard block | ||
| 21 | 21 |          $result = $this->pdo->query("pragma table_info(`{$table}`)")->fetchAll(PDO::FETCH_ASSOC); | 
| 22 | 22 | |
| 23 | 23 | return array_map( | 
| 24 | -            function ($field) { | |
| 24 | +            function($field) { | |
| 25 | 25 | return [ | 
| 26 | 26 | 'name' => $field['name'], | 
| 27 | 27 | 'type' => strtolower($field['type']), |