@@ -40,7 +40,7 @@ discard block |
||
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 |
||
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 |
||
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 | } |