Completed
Push — master ( 26ee7a...513343 )
by Jesse
01:31
created
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/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/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/Identified.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
 
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     }
37 37
 
38 38
     /** @inheritdoc */
39
-    public function for(array $row): string
39
+    public function for (array $row): string
40 40
     {
41 41
         $id = [];
42 42
         foreach ($this->identifyingColumns as $column) {
Please login to merge, or discard this patch.
contracts/IdentifiesEntities.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,5 +16,5 @@
 block discarded – undo
16 16
      * @return string               A string representation of the identifier.
17 17
      * @throws CannotIdentifyEntity When identifying columns are missing.
18 18
      */
19
-    public function for(array $row): string;
19
+    public function for (array $row): string;
20 20
 }
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/CannotProduceObjects.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.
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.