Passed
Push — master ( 8b10b1...713b1a )
by R.Kukuh
01:56
created
src/Console/Commands/Rebuild.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      */
42 42
     public function handle()
43 43
     {
44
-        if (App::environment(['prod', 'production'])) {
44
+        if (App::environment([ 'prod', 'production' ])) {
45 45
             if ($this->confirm('You are in PRODUCTION environment. Continue?')) {
46 46
                 $this->rebuildSequence();
47 47
 
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
     protected function rebuildDatabaseSchema()
85 85
     {
86 86
         if (config('rebuild.should_rebuild_database_schema')) {
87
-            $this->call('migrate:fresh', ['--force' => true]);
87
+            $this->call('migrate:fresh', [ '--force' => true ]);
88 88
             $this->info('Rebuilding database schema is done.');
89 89
             $this->line('');
90 90
         }
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
         if (config('rebuild.should_seed_initial_data')) {
101 101
             $this->composer->dumpAutoloads();
102 102
 
103
-            $this->call('db:seed', ['--force' => true]);
103
+            $this->call('db:seed', [ '--force' => true ]);
104 104
             $this->info('Seeding initial data is done.');
105 105
             $this->line('');
106 106
         }
Please login to merge, or discard this patch.