@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | { |
149 | 149 | foreach (static::$treeRelationMap as $relationDefinition) { |
150 | 150 | $type = $relationDefinition['manyRelation'] |
151 | - ? '\\' . Collection::class . '|' . class_basename($model) . '[]' |
|
151 | + ? '\\'.Collection::class.'|'.class_basename($model).'[]' |
|
152 | 152 | : class_basename($model); |
153 | 153 | |
154 | 154 | $command->setProperty( |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | |
163 | 163 | if ($relationDefinition['manyRelation']) { |
164 | 164 | $command->setProperty( |
165 | - Str::snake($relationDefinition['name']) . '_count', |
|
165 | + Str::snake($relationDefinition['name']).'_count', |
|
166 | 166 | 'int', |
167 | 167 | true, |
168 | 168 | false, |
@@ -176,7 +176,7 @@ discard block |
||
176 | 176 | protected function setGraphRelationProperties(ModelsCommand $command, Model $model): void |
177 | 177 | { |
178 | 178 | foreach (static::$graphRelationMap as $relationDefinition) { |
179 | - $type = '\\' . EloquentCollection::class . '|' . class_basename($model) . '[]'; |
|
179 | + $type = '\\'.EloquentCollection::class.'|'.class_basename($model).'[]'; |
|
180 | 180 | |
181 | 181 | $command->setProperty( |
182 | 182 | $relationDefinition['name'], |
@@ -189,7 +189,7 @@ discard block |
||
189 | 189 | |
190 | 190 | if ($relationDefinition['manyRelation']) { |
191 | 191 | $command->setProperty( |
192 | - Str::snake($relationDefinition['name']) . '_count', |
|
192 | + Str::snake($relationDefinition['name']).'_count', |
|
193 | 193 | 'int', |
194 | 194 | true, |
195 | 195 | false, |