@@ -21,18 +21,18 @@ discard block |
||
| 21 | 21 | private readonly AppEnvironment $appEnv, |
| 22 | 22 | InputInterface $input, |
| 23 | 23 | OutputInterface $output, |
| 24 | - ) { |
|
| 24 | + ){ |
|
| 25 | 25 | $this->input = $input; |
| 26 | 26 | $this->output = new SymfonyStyle($input, $output); |
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | public function confirmToProceed(string $message = 'Application in production.'): bool |
| 30 | 30 | { |
| 31 | - if (!$this->appEnv->isProduction()) { |
|
| 31 | + if (!$this->appEnv->isProduction()){ |
|
| 32 | 32 | return true; |
| 33 | 33 | } |
| 34 | 34 | |
| 35 | - if ($this->hasOption('force') && $this->option('force')) { |
|
| 35 | + if ($this->hasOption('force') && $this->option('force')){ |
|
| 36 | 36 | return true; |
| 37 | 37 | } |
| 38 | 38 | |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | |
| 41 | 41 | $confirmed = $this->confirm('Do you really wish to run command?'); |
| 42 | 42 | |
| 43 | - if (!$confirmed) { |
|
| 43 | + if (!$confirmed){ |
|
| 44 | 44 | $this->comment('Command Canceled!'); |
| 45 | 45 | |
| 46 | 46 | return false; |