Passed
Push — master ( 32db04...fadd64 )
by Vasyl
02:53
created
src/VariableServiceProvider.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -19,22 +19,22 @@
 block discarded – undo
19 19
         ], 'config');
20 20
 
21 21
         if (! class_exists('CreateVariablesTable')) {
22
-             $timestamp = date('Y_m_d_His', time());
22
+                $timestamp = date('Y_m_d_His', time());
23 23
 
24
-             $this->publishes([
25
-                 __DIR__.'/../database/migrations/create_variables_table.php.stub' => $this->app->databasePath()."/migrations/{$timestamp}_create_variables_table.php",
26
-             ], 'migrations');
24
+                $this->publishes([
25
+                    __DIR__.'/../database/migrations/create_variables_table.php.stub' => $this->app->databasePath()."/migrations/{$timestamp}_create_variables_table.php",
26
+                ], 'migrations');
27 27
         }
28 28
 
29 29
         $this->replaceConfigsWithVariables();
30 30
 
31 31
         if ($this->app->runningInConsole()) {
32
-             $this->commands([
33
-                 Commands\AllVariable::class,
34
-                 Commands\GetVariable::class,
35
-                 Commands\SaveVariable::class,
36
-                 Commands\CacheClearVariable::class,
37
-             ]);
32
+                $this->commands([
33
+                    Commands\AllVariable::class,
34
+                    Commands\GetVariable::class,
35
+                    Commands\SaveVariable::class,
36
+                    Commands\CacheClearVariable::class,
37
+                ]);
38 38
         }
39 39
     }
40 40
 
Please login to merge, or discard this patch.
src/Models/Variable.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     public function byLangcode($query, ?string $langcode = null)
32 32
     {
33 33
         return $query->when($langcode, function ($q) use ($langcode) {
34
-           $q->where('langcode', $langcode);
34
+            $q->where('langcode', $langcode);
35 35
         });
36 36
     }
37 37
 }
Please login to merge, or discard this patch.