Skip to content

Commit

Permalink
Apply fixes from StyleCI (#225)
Browse files Browse the repository at this point in the history
[ci skip] [skip ci]

Co-authored-by: StyleCI Bot <[email protected]>
  • Loading branch information
joedixon and StyleCIBot authored Jun 27, 2022
1 parent a6f40e5 commit 3fedbb6
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/TranslationServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
]);
}

Expand All @@ -71,7 +71,7 @@ private function loadViews()
*/
private function registerRoutes()
{
$this->loadRoutesFrom(__DIR__ . '/../routes/web.php');
$this->loadRoutesFrom(__DIR__.'/../routes/web.php');
}

/**
Expand All @@ -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');
}

Expand All @@ -93,7 +93,7 @@ private function publishConfiguration()
*/
private function mergeConfiguration()
{
$this->mergeConfigFrom(__DIR__ . '/../config/translation.php', 'translation');
$this->mergeConfigFrom(__DIR__.'/../config/translation.php', 'translation');
}

/**
Expand All @@ -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');
}

Expand All @@ -119,7 +119,7 @@ private function loadMigrations()
return;
}

$this->loadMigrationsFrom(__DIR__ . '/../database/migrations');
$this->loadMigrationsFrom(__DIR__.'/../database/migrations');
}

/**
Expand All @@ -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'),
]);
}

Expand Down Expand Up @@ -162,7 +162,7 @@ private function registerCommands()
*/
private function registerHelpers()
{
require __DIR__ . '/../resources/helpers.php';
require __DIR__.'/../resources/helpers.php';
}

/**
Expand Down

0 comments on commit 3fedbb6

Please sign in to comment.