@@ -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 | } |