Passed
Push — master ( e6bb40...c8f69f )
by Jonas
03:17 queued 12s
created
src/IdeHelper/RecursiveRelationsHook.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -135,8 +135,8 @@  discard block
 block discarded – undo
135 135
         if (in_array(HasRecursiveRelationships::class, $traits)) {
136 136
             foreach (static::$treeRelationships as $relationship) {
137 137
                 $type = $relationship['manyRelation']
138
-                    ? '\\' . TreeCollection::class . '|\\' . $model::class . '[]'
139
-                    : '\\' . $model::class;
138
+                    ? '\\'.TreeCollection::class.'|\\'.$model::class.'[]'
139
+                    : '\\'.$model::class;
140 140
 
141 141
                 $this->addRelationship($command, $relationship, $type);
142 142
             }
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
 
145 145
         if (in_array(HasGraphRelationships::class, $traits)) {
146 146
             foreach (static::$graphRelationships as $relationship) {
147
-                $type = '\\' . GraphCollection::class . '|\\' . $model::class . '[]';
147
+                $type = '\\'.GraphCollection::class.'|\\'.$model::class.'[]';
148 148
 
149 149
                 $this->addRelationship($command, $relationship, $type);
150 150
             }
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
 
165 165
         if ($relationship['manyRelation']) {
166 166
             $command->setProperty(
167
-                Str::snake($relationship['name']) . '_count',
167
+                Str::snake($relationship['name']).'_count',
168 168
                 'int',
169 169
                 true,
170 170
                 false,
Please login to merge, or discard this patch.
src/Eloquent/Graph/Collection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,8 @@
 block discarded – undo
25 25
         }
26 26
 
27 27
         $parentKeyName = $this->first->relationLoaded('pivot')
28
-            ? 'pivot.' . $this->first()->getParentKeyName()
29
-            : 'pivot_' . $this->first()->getParentKeyName();
28
+            ? 'pivot.'.$this->first()->getParentKeyName()
29
+            : 'pivot_'.$this->first()->getParentKeyName();
30 30
         $localKeyName = $this->first()->getLocalKeyName();
31 31
         $depthName = $this->first()->getDepthName();
32 32
 
Please login to merge, or discard this patch.