diff --git a/src/Illuminate/Console/Command.php b/src/Illuminate/Console/Command.php index 0ae9662fa802..b4b5ba6ea082 100755 --- a/src/Illuminate/Console/Command.php +++ b/src/Illuminate/Console/Command.php @@ -510,9 +510,11 @@ protected function setVerbosity($level) protected function parseVerbosity($level = null) { if (isset($this->verbosityMap[$level])) { - $level = $this->verbosityMap[$level]; - } elseif (! is_int($level)) { - $level = $this->verbosity; + return $this->verbosityMap[$level]; + } + + if (! is_int($level)) { + return $this->verbosity; } return $level;