@@ -50,8 +50,8 @@ discard block |
||
| 50 | 50 | $isHasOneDeep = $relation instanceof HasOneDeep; |
| 51 | 51 | |
| 52 | 52 | $type = $isHasOneDeep |
| 53 | - ? '\\' . $relation->getRelated()::class |
|
| 54 | - : '\\' . Collection::class . '|\\' . $relation->getRelated()::class . '[]'; |
|
| 53 | + ? '\\'.$relation->getRelated()::class |
|
| 54 | + : '\\'.Collection::class.'|\\'.$relation->getRelated()::class.'[]'; |
|
| 55 | 55 | |
| 56 | 56 | $command->setProperty( |
| 57 | 57 | $method->getName(), |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | |
| 65 | 65 | if (!$isHasOneDeep) { |
| 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, |