Passed
Push — master ( 13d8cc...7bc2a7 )
by Jesse
03:29
created
src/Loader/Wire.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
         $this->to = $to;
27 27
         $this->relation = $relation;
28 28
         // @todo use hydrator!
29
-        $this->setter = function (string $property, $value): void {
29
+        $this->setter = function(string $property, $value): void {
30 30
             $this->$property = $value;
31 31
         };
32 32
     }
Please login to merge, or discard this patch.
src/Builder/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/Builder/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.
src/Builder/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.