Completed
Branch master (95bd56)
by R.Kukuh
05:37
created
Category
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
 
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
         if (config('rebuild.should_rebuild_database_schema')) {
87 87
             $this->info('[START] Rebuild database schema..........');
88 88
 
89
-            $this->call('migrate:fresh', ['--force' => true]);
89
+            $this->call('migrate:fresh', [ '--force' => true ]);
90 90
 
91 91
             $this->info('[DONE ] Rebuild database schema.');
92 92
             $this->line('');
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
 
106 106
             $this->info('[START] Install initial data..........');
107 107
 
108
-            $this->call('db:seed', ['--force' => true]);
108
+            $this->call('db:seed', [ '--force' => true ]);
109 109
 
110 110
             $this->info('[DONE ] Install initial data.');
111 111
             $this->line('');
Please login to merge, or discard this patch.