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