Completed
Push — master ( 7c9586...c8ce39 )
by Oscar
01:44
created
src/Query/Select.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\Query;
5 5
 
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
         $this->table = $table;
20 20
 
21 21
         $fields = array_map(
22
-            function ($field) {
22
+            function($field) {
23 23
                 return (string) $field;
24 24
             },
25 25
             array_values($table->getFields())
Please login to merge, or discard this patch.
src/Query/QueryInterface.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/Scheme/Traits/CommonsTrait.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\Traits;
5 5
 
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/Table.php 2 patches
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.
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -281,6 +281,9 @@
 block discarded – undo
281 281
         return $this->fields[$field] ?? null;
282 282
     }
283 283
 
284
+    /**
285
+     * @return Table
286
+     */
284 287
     public function getJoinTable(Table $table): ?Table
285 288
     {
286 289
         $name1 = $this->getName();
Please login to merge, or discard this patch.
src/Row.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/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.
src/Events/BeforeCreateRow.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\Events;
5 5
 
Please login to merge, or discard this patch.