@@ -44,8 +44,8 @@ discard block |
||
44 | 44 | $isHasOneDeep = $relation instanceof HasOneDeep; |
45 | 45 | |
46 | 46 | $type = $isHasOneDeep |
47 | - ? '\\' . $relation->getRelated()::class |
|
48 | - : '\\' . Collection::class . '|\\' . $relation->getRelated()::class . '[]'; |
|
47 | + ? '\\'.$relation->getRelated()::class |
|
48 | + : '\\'.Collection::class.'|\\'.$relation->getRelated()::class.'[]'; |
|
49 | 49 | |
50 | 50 | $command->setProperty( |
51 | 51 | $method->getName(), |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | |
59 | 59 | if (!$isHasOneDeep) { |
60 | 60 | $command->setProperty( |
61 | - Str::snake($method->getName()) . '_count', |
|
61 | + Str::snake($method->getName()).'_count', |
|
62 | 62 | 'int', |
63 | 63 | true, |
64 | 64 | false, |