Completed
Branch 7-dev (474f86)
by Oscar
04:09
created
Category
src/Scheme/Sqlite.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
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
 block discarded – undo
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']),
Please login to merge, or discard this patch.
src/Scheme/SchemeInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace SimpleCrud\Scheme;
5 5
 
Please login to merge, or discard this patch.
src/Fields/FieldInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace SimpleCrud\Fields;
5 5
 
Please login to merge, or discard this patch.
src/SimpleCrudException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace SimpleCrud;
5 5
 
Please login to merge, or discard this patch.
src/Table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Database.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace SimpleCrud;
5 5
 
Please login to merge, or discard this patch.