From f21b2dbdf2c443a3d3975e752cb0d70ad933a999 Mon Sep 17 00:00:00 2001 From: Jesper Noordsij Date: Wed, 11 Jun 2025 18:00:41 +0200 Subject: [PATCH] Remove call to deprecated getDefaultDescription method --- src/Illuminate/Console/Command.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Illuminate/Console/Command.php b/src/Illuminate/Console/Command.php index 5ef2132f8233..743a7a9e057e 100755 --- a/src/Illuminate/Console/Command.php +++ b/src/Illuminate/Console/Command.php @@ -101,9 +101,7 @@ public function __construct() // Once we have constructed the command, we'll set the description and other // related properties of the command. If a signature wasn't used to build // the command we'll set the arguments and the options on this command. - if (! isset($this->description)) { - $this->setDescription((string) static::getDefaultDescription()); - } else { + if (isset($this->description)) { $this->setDescription((string) $this->description); }