@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | { |
28 | 28 | $this->publishes( |
29 | 29 | [ |
30 | - __DIR__.'/config/lang-switch.php' => config_path('lang-switch.php'), |
|
30 | + __DIR__ . '/config/lang-switch.php' => config_path('lang-switch.php'), |
|
31 | 31 | ] |
32 | 32 | ); |
33 | 33 | } |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | */ |
38 | 38 | public function boot() |
39 | 39 | { |
40 | - $this->loadMigrationsFrom(__DIR__.'/migration'); |
|
40 | + $this->loadMigrationsFrom(__DIR__ . '/migration'); |
|
41 | 41 | if ($this->app->runningInConsole()) { |
42 | 42 | $this->publishAssets(); |
43 | 43 | } |
@@ -18,9 +18,9 @@ discard block |
||
18 | 18 | */ |
19 | 19 | public function up() |
20 | 20 | { |
21 | - $connection=config('lang-switch.database.connection'); |
|
21 | + $connection = config('lang-switch.database.connection'); |
|
22 | 22 | if (!Schema::connection($connection)->hasTable('_lang_switcher')) { |
23 | - Schema::connection($connection)->create('_lang_switcher', function (Blueprint $table) { |
|
23 | + Schema::connection($connection)->create('_lang_switcher', function(Blueprint $table) { |
|
24 | 24 | $table->increments('id'); |
25 | 25 | $table->string('class', 20)->default(''); |
26 | 26 | $table->string('method', 20)->default(''); |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | */ |
43 | 43 | public function down() |
44 | 44 | { |
45 | - $connection=config('lang-switch.database.connection'); |
|
45 | + $connection = config('lang-switch.database.connection'); |
|
46 | 46 | Schema::connection($connection)->dropIfExists('_lang_switcher'); |
47 | 47 | } |
48 | 48 | } |