@@ -45,14 +45,14 @@ |
||
45 | 45 | protected function publishConfig(): void |
46 | 46 | { |
47 | 47 | $this->publishes([ |
48 | - __DIR__ . '/../config/eloquent-has-many-deep.php' => config_path('eloquent-has-many-deep.php'), |
|
48 | + __DIR__.'/../config/eloquent-has-many-deep.php' => config_path('eloquent-has-many-deep.php'), |
|
49 | 49 | ], 'eloquent-has-many-deep'); |
50 | 50 | } |
51 | 51 | |
52 | 52 | protected function registerConfig(): void |
53 | 53 | { |
54 | 54 | $this->mergeConfigFrom( |
55 | - __DIR__ . '/../config/eloquent-has-many-deep.php', |
|
55 | + __DIR__.'/../config/eloquent-has-many-deep.php', |
|
56 | 56 | 'eloquent-has-many-deep', |
57 | 57 | ); |
58 | 58 | } |
@@ -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, |