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