Passed
Push — master ( 076147...83cdd9 )
by Jesse
01:35
created
src/Internal/ExtractionRequest.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
         $this->newEntities = $newEntities;
33 33
     }
34 34
 
35
-    public static function for($entity, Map $identityMap, object ...$newEntities): self
35
+    public static function for ($entity, Map $identityMap, object ...$newEntities): self
36 36
     {
37 37
         return new self(
38 38
             $entity,
@@ -121,8 +121,7 @@  discard block
 block discarded – undo
121 121
         $new = clone $this;
122 122
         $new->value = $property->getValue($this->value);
123 123
         $new->name = $this->isTheOwner() ?
124
-            $this->name->forReflected($property) :
125
-            $this->name->for($this->value)->forReflected($property);
124
+            $this->name->forReflected($property) : $this->name->for($this->value)->forReflected($property);
126 125
         return $new;
127 126
     }
128 127
 }
Please login to merge, or discard this patch.
src/Extract.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@
 block discarded – undo
132 132
     ): RepresentsEntity {
133 133
         return EntityState::ofThe(classOfThe($entity), $id, PropertyStates::list(
134 134
             ...$this->extractor->extract(
135
-                ExtractionRequest::for($entity, $map, ...$newEntities)
135
+                ExtractionRequest::for ($entity, $map, ...$newEntities)
136 136
             )
137 137
         ));
138 138
     }
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -132,8 +132,9 @@
 block discarded – undo
132 132
     ): RepresentsEntity {
133 133
         return EntityState::ofThe(classOfThe($entity), $id, PropertyStates::list(
134 134
             ...$this->extractor->extract(
135
-                ExtractionRequest::for($entity, $map, ...$newEntities)
136
-            )
135
+                ExtractionRequest::for($entity, $map, ...$newEntities) {
136
+                            )
137 137
         ));
138
+                }
138 139
     }
139 140
 }
Please login to merge, or discard this patch.