Skip to content

Commit

Permalink
Merge pull request #36 from kg-bot/analysis-XZZkOP
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
kg-bot authored Feb 14, 2019
2 parents 8cae288 + ef17999 commit 73994b7
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/config/laravel-localization.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
* Route prefix, example of route http://localhost/js/localizations.js
*
*/
'prefix' => env( 'LARAVEL_LOCALIZATION_PREFIX', '/js/localization.js' ),
'prefix' => env('LARAVEL_LOCALIZATION_PREFIX', '/js/localization.js'),

/*
* Route name, defaults to assets.lang
*/
'name' => env( 'LARAVEL_LOCALIZATION_ROUTE_NAME', 'assets.lang' ),
'name' => env('LARAVEL_LOCALIZATION_ROUTE_NAME', 'assets.lang'),

/*
* Middleware used on localization routes.
Expand All @@ -28,14 +28,14 @@
*
* Don't use space in .env directive after ,
*/
'middleware' => ( env( 'LARAVEL_LOCALIZATION_MIDDLEWARE' ) ) ?
explode( ',', env( 'LARAVEL_LOCALIZATION_MIDDLEWARE' ) )
'middleware' => (env('LARAVEL_LOCALIZATION_MIDDLEWARE')) ?
explode(',', env('LARAVEL_LOCALIZATION_MIDDLEWARE'))
: [],

/*
* Should we enable public URL from which we can access translations
*/
'enable' => env( 'LARAVEL_LOCALIZATION_ROUTE_ENABLE', false ),
'enable' => env('LARAVEL_LOCALIZATION_ROUTE_ENABLE', false),
],
'events' => [

Expand All @@ -44,7 +44,7 @@
*
* Here you can change channel on which events will broadcast
*/
'channel' => env( 'LARAVEL_LOCALIZATION_EVENTS_CHANNEL', '' ),
'channel' => env('LARAVEL_LOCALIZATION_EVENTS_CHANNEL', ''),
],
'caches' => [

Expand Down Expand Up @@ -72,7 +72,7 @@
/*
* root location to where JavaScript file will be exported
*/
'filepath' => resource_path( 'assets/js' ),
'filepath' => resource_path('assets/js'),

/*
* File name for JavaScript file with exported messages
Expand All @@ -81,13 +81,13 @@
],
'paths' => [

/**
/*
* You can export more lang files then just files in resources/lang, for example
*
* In you .env file just add:
* LARAVEL_LOCALIZATION_LANG_DIRS=resources/lang,Modules/Blog/Resources/lang
*/
'lang_dirs' => [ resource_path( 'lang' ) ],
'lang_dirs' => [resource_path('lang')],
],

];

0 comments on commit 73994b7

Please sign in to comment.