@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | |
| 46 | 46 | protected function addRelationship(ModelsCommand $command, ReflectionMethod $method, Relation $relationship): void |
| 47 | 47 | { |
| 48 | - $type = '\\' . Collection::class . '|\\' . $relationship->getRelated()::class . '[]'; |
|
| 48 | + $type = '\\'.Collection::class.'|\\'.$relationship->getRelated()::class.'[]'; |
|
| 49 | 49 | |
| 50 | 50 | $command->setProperty( |
| 51 | 51 | $method->getName(), |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | ); |
| 56 | 56 | |
| 57 | 57 | $command->setProperty( |
| 58 | - Str::snake($method->getName()) . '_count', |
|
| 58 | + Str::snake($method->getName()).'_count', |
|
| 59 | 59 | 'int', |
| 60 | 60 | true, |
| 61 | 61 | false, |