Passed
Branch master (bba050)
by Jesse
03:01
created
Category
src/MissingIdentifyingColumn.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 Stratadox\TableLoader;
5 5
 
Please login to merge, or discard this patch.
src/Prefixed.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 Stratadox\TableLoader;
5 5
 
Please login to merge, or discard this patch.
src/To.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 Stratadox\TableLoader;
5 5
 
Please login to merge, or discard this patch.
src/Wire.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 Stratadox\TableLoader;
5 5
 
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
         $this->from = $from;
24 24
         $this->to = $to;
25 25
         $this->relation = $relation;
26
-        $this->setter = function (string $property, $value): void {
26
+        $this->setter = function(string $property, $value): void {
27 27
             $this->$property = $value;
28 28
         };
29 29
     }
Please login to merge, or discard this patch.
src/CannotMakeMapping.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 Stratadox\TableLoader;
5 5
 
Please login to merge, or discard this patch.
src/Load.php 1 patch
Spacing   +2 added lines, -3 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 Stratadox\TableLoader;
5 5
 
@@ -69,8 +69,7 @@  discard block
 block discarded – undo
69 69
         string $collectionClass = null
70 70
     ): DefinesObjectMapping {
71 71
         $hydrator = $collectionClass ?
72
-            VariadicConstructor::forThe($collectionClass) :
73
-            ArrayHydrator::create();
72
+            VariadicConstructor::forThe($collectionClass) : ArrayHydrator::create();
74 73
         $new = clone $this;
75 74
         $new->relation[$label] = HasMany::in($property, $hydrator);
76 75
         return $new;
Please login to merge, or discard this patch.
src/SimpleTable.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 Stratadox\TableLoader;
5 5
 
Please login to merge, or discard this patch.
src/UnmappableRow.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 Stratadox\TableLoader;
5 5
 
Please login to merge, or discard this patch.
src/JoinedTable.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 Stratadox\TableLoader;
5 5
 
Please login to merge, or discard this patch.