Completed
Branch 7-dev (bf2895)
by Oscar
03:53
created
src/Query/Max.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\Query;
5 5
 
Please login to merge, or discard this patch.
src/Query/Insert.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\Query;
5 5
 
Please login to merge, or discard this patch.
src/Query/Count.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\Query;
5 5
 
Please login to merge, or discard this patch.
src/Query/Delete.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\Query;
5 5
 
Please login to merge, or discard this patch.
src/Query/Avg.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\Query;
5 5
 
Please login to merge, or discard this patch.
src/Query/Sum.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\Query;
5 5
 
Please login to merge, or discard this patch.
src/RowCollection.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
 
@@ -314,7 +314,7 @@  discard block
 block discarded – undo
314 314
      */
315 315
     public function toArray(): array
316 316
     {
317
-        return array_map(function ($row) {
317
+        return array_map(function($row) {
318 318
             return $row->toArray();
319 319
         }, $this->rows);
320 320
     }
Please login to merge, or discard this patch.
src/Scheme/Mysql.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
 
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
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 = [
Please login to merge, or discard this patch.
src/Scheme/Cache.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.