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