From 3fedbb62534db4cdea181061bd41057c69856ee0 Mon Sep 17 00:00:00 2001 From: Joe Dixon Date: Mon, 27 Jun 2022 21:51:06 +0100 Subject: [PATCH] Apply fixes from StyleCI (#225) [ci skip] [skip ci] Co-authored-by: StyleCI Bot --- src/TranslationServiceProvider.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/TranslationServiceProvider.php b/src/TranslationServiceProvider.php index 5e660c1..5684574 100644 --- a/src/TranslationServiceProvider.php +++ b/src/TranslationServiceProvider.php @@ -57,10 +57,10 @@ public function register() */ private function loadViews() { - $this->loadViewsFrom(__DIR__ . '/../resources/views', 'translation'); + $this->loadViewsFrom(__DIR__.'/../resources/views', 'translation'); $this->publishes([ - __DIR__ . '/../resources/views' => resource_path('views/vendor/translation'), + __DIR__.'/../resources/views' => resource_path('views/vendor/translation'), ]); } @@ -71,7 +71,7 @@ private function loadViews() */ private function registerRoutes() { - $this->loadRoutesFrom(__DIR__ . '/../routes/web.php'); + $this->loadRoutesFrom(__DIR__.'/../routes/web.php'); } /** @@ -82,7 +82,7 @@ private function registerRoutes() private function publishConfiguration() { $this->publishes([ - __DIR__ . '/../config/translation.php' => config_path('translation.php'), + __DIR__.'/../config/translation.php' => config_path('translation.php'), ], 'config'); } @@ -93,7 +93,7 @@ private function publishConfiguration() */ private function mergeConfiguration() { - $this->mergeConfigFrom(__DIR__ . '/../config/translation.php', 'translation'); + $this->mergeConfigFrom(__DIR__.'/../config/translation.php', 'translation'); } /** @@ -104,7 +104,7 @@ private function mergeConfiguration() private function publishAssets() { $this->publishes([ - __DIR__ . '/../public/assets' => public_path('vendor/translation'), + __DIR__.'/../public/assets' => public_path('vendor/translation'), ], 'assets'); } @@ -119,7 +119,7 @@ private function loadMigrations() return; } - $this->loadMigrationsFrom(__DIR__ . '/../database/migrations'); + $this->loadMigrationsFrom(__DIR__.'/../database/migrations'); } /** @@ -129,10 +129,10 @@ private function loadMigrations() */ private function loadTranslations() { - $this->loadTranslationsFrom(__DIR__ . '/../resources/lang', 'translation'); + $this->loadTranslationsFrom(__DIR__.'/../resources/lang', 'translation'); $this->publishes([ - __DIR__ . '/../resources/lang' => resource_path('lang/vendor/translation'), + __DIR__.'/../resources/lang' => resource_path('lang/vendor/translation'), ]); } @@ -162,7 +162,7 @@ private function registerCommands() */ private function registerHelpers() { - require __DIR__ . '/../resources/helpers.php'; + require __DIR__.'/../resources/helpers.php'; } /**