| @@ -13,7 +13,7 @@ discard block | ||
| 13 | 13 | */ | 
| 14 | 14 | public function up() | 
| 15 | 15 |      { | 
| 16 | -        Schema::table('users', function ($table) { | |
| 16 | +        Schema::table('users', function($table) { | |
| 17 | 17 |              $table->string('locale')->default(App::getLocale()); | 
| 18 | 18 | }); | 
| 19 | 19 | } | 
| @@ -25,7 +25,7 @@ discard block | ||
| 25 | 25 | */ | 
| 26 | 26 | public function down() | 
| 27 | 27 |      { | 
| 28 | -        Schema::table('users', function ($table) { | |
| 28 | +        Schema::table('users', function($table) { | |
| 29 | 29 |              $table->dropColumn('locale'); | 
| 30 | 30 | }); | 
| 31 | 31 | } | 
| @@ -6,7 +6,7 @@ | ||
| 6 | 6 | 'as' => 'localizer::', | 
| 7 | 7 |          'prefix'     => config('localizer.prefix'), | 
| 8 | 8 | 'namespace' => 'Aitor24\Localizer\Controllers', | 
| 9 | -    ], function () { | |
| 9 | +    ], function() { | |
| 10 | 10 |          Route::get('/set/{locale}/', 'LocalizerController@set')->name('setLocale'); | 
| 11 | 11 |          if (config('localizer.homeRoute')) { | 
| 12 | 12 |              Route::get('/set/{locale}/home', 'LocalizerController@setHome')->name('setLocaleHome'); |