Completed
Push — master ( 5e09e8...171c05 )
by Jesse
02:10
created
src/Wire.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         $this->from = $from;
26 26
         $this->to = $to;
27 27
         $this->relation = $relation;
28
-        $this->setter = function (string $property, $value): void {
28
+        $this->setter = function(string $property, $value): void {
29 29
             $this->$property = $value;
30 30
         };
31 31
     }
Please login to merge, or discard this patch.
src/Load.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,8 +69,7 @@
 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/InCase.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,8 +68,7 @@
 block discarded – undo
68 68
         string $collectionClass = null
69 69
     ): LoadsWhenTriggered {
70 70
         $hydrator = $collectionClass ?
71
-            VariadicConstructor::forThe($collectionClass) :
72
-            ArrayHydrator::create();
71
+            VariadicConstructor::forThe($collectionClass) : ArrayHydrator::create();
73 72
         $new = clone $this;
74 73
         $new->relation[$label] = HasMany::in($property, $hydrator);
75 74
         return $new;
Please login to merge, or discard this patch.
src/Decide.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,8 +69,7 @@
 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.