diff --git a/src/Illuminate/Console/Parser.php b/src/Illuminate/Console/Parser.php index 5c1e92fcf6d0..92753119f613 100644 --- a/src/Illuminate/Console/Parser.php +++ b/src/Illuminate/Console/Parser.php @@ -141,6 +141,6 @@ protected static function extractDescription($token) { $parts = preg_split('/\s+:\s+/', trim($token), 2); - return count($parts) === 2 ? $parts : [$token, null]; + return count($parts) === 2 ? $parts : [$token, '']; } }