@@ -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 | } |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | |
44 | 44 | $query->join( |
45 | 45 | $table, |
46 | - function (JoinClause $join) use ($joins) { |
|
46 | + function(JoinClause $join) use ($joins) { |
|
47 | 47 | foreach ($joins as [$first, $second]) { |
48 | 48 | $join->on($first, '=', $second); |
49 | 49 | } |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | if ($this->throughParentInstanceSoftDeletes($throughParent)) { |
55 | 55 | $column = $throughParent->getQualifiedDeletedAtColumn(); |
56 | 56 | |
57 | - $query->withGlobalScope(__CLASS__ . ":$column", function (Builder $query) use ($column) { |
|
57 | + $query->withGlobalScope(__CLASS__.":$column", function(Builder $query) use ($column) { |
|
58 | 58 | $query->whereNull($column); |
59 | 59 | }); |
60 | 60 | } |