Passed
Push — master ( 855459...a29176 )
by Jonas
10:46
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
-                    ? '\\' . Collection::class . '|\\' . $model::class . '[]'
139
-                    : '\\' . $model::class;
138
+                    ? '\\'.Collection::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 = '\\' . EloquentCollection::class . '|\\' . $model::class . '[]';
147
+                $type = '\\'.EloquentCollection::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.