Completed
Push — master ( 399698...61c43d )
by Oscar
01:29
created
src/Queries/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\Queries;
5 5
 
Please login to merge, or discard this patch.
src/Queries/Traits/HasRelatedWith.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\Queries\Traits;
5 5
 
Please login to merge, or discard this patch.
src/Queries/Traits/HasJoinRelation.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\Queries\Traits;
5 5
 
Please login to merge, or discard this patch.
src/Fields/FieldFactory.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/Fields/FieldFactoryInterface.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/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
 
@@ -319,7 +319,7 @@  discard block
 block discarded – undo
319 319
             return $this->rows;
320 320
         }
321 321
 
322
-        return array_map(function ($row) {
322
+        return array_map(function($row) {
323 323
             return $row->toArray();
324 324
         }, $this->rows);
325 325
     }
Please login to merge, or discard this patch.
src/Row.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
 
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
             if (empty($this->id)) {
252 252
                 $values = array_filter(
253 253
                     $this->toArray(),
254
-                    function ($value) {
254
+                    function($value) {
255 255
                         return $value !== null;
256 256
                     }
257 257
                 );
Please login to merge, or discard this patch.