Completed
Push — master ( d0c705...526a1d )
by Jesse
02:46
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.