Passed
Push — master ( 2828d6...e1ad33 )
by Robin
02:27
created
src/migration/2019_03_21_084330_create_lang_switcher_table.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,9 +18,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.