diff --git a/src/Illuminate/Console/ConfirmableTrait.php b/src/Illuminate/Console/ConfirmableTrait.php index 1a5308ede778..280747cf6fd8 100644 --- a/src/Illuminate/Console/ConfirmableTrait.php +++ b/src/Illuminate/Console/ConfirmableTrait.php @@ -22,7 +22,7 @@ public function confirmToProceed($warning = 'Application In Production!', $callb $shouldConfirm = $callback instanceof Closure ? call_user_func($callback) : $callback; if ($shouldConfirm) { - if ($this->option('force')) { + if ($this->hasOption('force') && $this->option('force')) { return true; }