Passed
Push — master ( 1543af...f8a677 )
by Jonas
04:29 queued 16s
created
Relations/Graph/Traits/Concatenation/IsConcatenableDescendantsRelation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
         );
20 20
 
21 21
         $parentKey = $this->related->qualifyColumn(
22
-            "pivot_" . $this->related->getParentKeyName()
22
+            "pivot_".$this->related->getParentKeyName()
23 23
         );
24 24
 
25 25
         return ["$path as {$alias}", "$parentKey as {$alias}_pivot_id"];
Please login to merge, or discard this patch.
Eloquent/Relations/Graph/Traits/Concatenation/IsConcatenableRelation.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
     public function appendToDeepRelationship(array $through, array $foreignKeys, array $localKeys, int $position): array
23 23
     {
24 24
         if ($position === 0) {
25
-            $foreignKeys[] = function (Builder $query, Builder $parentQuery = null) {
25
+            $foreignKeys[] = function(Builder $query, Builder $parentQuery = null) {
26 26
                 if ($parentQuery) {
27 27
                     $this->getRelationExistenceQuery($this->query, $parentQuery);
28 28
                 }
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
         $pathSeparator = $this->related->getPathSeparator();
177 177
 
178 178
         if ($this->andSelf) {
179
-            return $results->mapToDictionary(function (Model $result) use ($pathSeparator) {
179
+            return $results->mapToDictionary(function(Model $result) use ($pathSeparator) {
180 180
                 return [strtok($result->laravel_through_key, $pathSeparator) => $result];
181 181
             })->all();
182 182
         }
Please login to merge, or discard this patch.
Relations/Graph/Traits/Concatenation/IsConcatenableAncestorsRelation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
         );
20 20
 
21 21
         $childKey = $this->related->qualifyColumn(
22
-            "pivot_" . $this->related->getChildKeyName()
22
+            "pivot_".$this->related->getChildKeyName()
23 23
         );
24 24
 
25 25
         return ["$path as {$alias}", "$childKey as {$alias}_pivot_id"];
Please login to merge, or discard this patch.