@@ -50,8 +50,8 @@ discard block |
||
| 50 | 50 | $manyRelation = !$relationship instanceof HasOneDeep; |
| 51 | 51 | |
| 52 | 52 | $type = $manyRelation |
| 53 | - ? '\\' . Collection::class . '|\\' . $relationship->getRelated()::class . '[]' |
|
| 54 | - : '\\' . $relationship->getRelated()::class; |
|
| 53 | + ? '\\'.Collection::class.'|\\'.$relationship->getRelated()::class.'[]' |
|
| 54 | + : '\\'.$relationship->getRelated()::class; |
|
| 55 | 55 | |
| 56 | 56 | $command->setProperty( |
| 57 | 57 | $method->getName(), |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | |
| 65 | 65 | if ($manyRelation) { |
| 66 | 66 | $command->setProperty( |
| 67 | - Str::snake($method->getName()) . '_count', |
|
| 67 | + Str::snake($method->getName()).'_count', |
|
| 68 | 68 | 'int', |
| 69 | 69 | true, |
| 70 | 70 | false, |