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