@@ -58,7 +58,7 @@ |
||
| 58 | 58 | |
| 59 | 59 | private function getStubsPath(): string |
| 60 | 60 | { |
| 61 | - return __DIR__ . '/Stubs'; |
|
| 61 | + return __DIR__.'/Stubs'; |
|
| 62 | 62 | } |
| 63 | 63 | |
| 64 | 64 | /** |
@@ -95,11 +95,11 @@ discard block |
||
| 95 | 95 | { |
| 96 | 96 | if ($this->app->runningInConsole()) { |
| 97 | 97 | $this->publishes([ |
| 98 | - __DIR__ . '/../config/love.php' => config_path('love.php'), |
|
| 98 | + __DIR__.'/../config/love.php' => config_path('love.php'), |
|
| 99 | 99 | ], 'love-config'); |
| 100 | 100 | |
| 101 | 101 | $this->publishes([ |
| 102 | - __DIR__ . '/../database/migrations' => database_path('migrations'), |
|
| 102 | + __DIR__.'/../database/migrations' => database_path('migrations'), |
|
| 103 | 103 | ], 'love-migrations'); |
| 104 | 104 | } |
| 105 | 105 | } |
@@ -110,7 +110,7 @@ discard block |
||
| 110 | 110 | private function registerMigrations(): void |
| 111 | 111 | { |
| 112 | 112 | if ($this->app->runningInConsole() && $this->shouldLoadDefaultMigrations()) { |
| 113 | - $this->loadMigrationsFrom(__DIR__ . '/../database/migrations'); |
|
| 113 | + $this->loadMigrationsFrom(__DIR__.'/../database/migrations'); |
|
| 114 | 114 | } |
| 115 | 115 | } |
| 116 | 116 | |
@@ -120,7 +120,7 @@ discard block |
||
| 120 | 120 | private function configure(): void |
| 121 | 121 | { |
| 122 | 122 | if (!$this->app->configurationIsCached()) { |
| 123 | - $this->mergeConfigFrom(__DIR__ . '/../config/love.php', 'love'); |
|
| 123 | + $this->mergeConfigFrom(__DIR__.'/../config/love.php', 'love'); |
|
| 124 | 124 | } |
| 125 | 125 | } |
| 126 | 126 | } |
@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | ): Builder { |
| 83 | 83 | $reactionType = ReactionType::fromName($reactionTypeName); |
| 84 | 84 | $alias = $alias === null |
| 85 | - ? 'reaction_' . Str::snake($reactionType->getName()) |
|
| 85 | + ? 'reaction_'.Str::snake($reactionType->getName()) |
|
| 86 | 86 | : $alias; |
| 87 | 87 | |
| 88 | 88 | $select = $this->getQuery()->columns ?? ["{$this->getModel()->getTable()}.*"]; |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | |
| 92 | 92 | return $this |
| 93 | 93 | ->leftJoin( |
| 94 | - (new ReactionCounter())->getTable() . ' as ' . $alias, |
|
| 94 | + (new ReactionCounter())->getTable().' as '.$alias, |
|
| 95 | 95 | function (JoinClause $join) use ( |
| 96 | 96 | $reactionType, |
| 97 | 97 | $alias, |
@@ -123,7 +123,7 @@ discard block |
||
| 123 | 123 | |
| 124 | 124 | return $this |
| 125 | 125 | ->leftJoin( |
| 126 | - (new ReactionTotal())->getTable() . ' as ' . $alias, |
|
| 126 | + (new ReactionTotal())->getTable().' as '.$alias, |
|
| 127 | 127 | "{$alias}.reactant_id", |
| 128 | 128 | '=', |
| 129 | 129 | "{$this->getModel()->getTable()}.love_reactant_id", |
@@ -94,7 +94,7 @@ |
||
| 94 | 94 | ); |
| 95 | 95 | |
| 96 | 96 | $reactionsQuery->whereBetween( |
| 97 | - (new Reaction())->getTable() . '.created_at', |
|
| 97 | + (new Reaction())->getTable().'.created_at', |
|
| 98 | 98 | [$reactedAtFrom, $reactedAtTo], |
| 99 | 99 | ); |
| 100 | 100 | |