From 274847632de812581043c00b4298ce99c73191f9 Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Sat, 16 Dec 2017 10:06:13 +0000 Subject: [PATCH] Fixed incorrect description type --- src/Illuminate/Console/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, '']; } }