Skip to content

Commit f21b2db

Browse files
committed
Remove call to deprecated getDefaultDescription method
1 parent f717cce commit f21b2db

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Illuminate/Console/Command.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,7 @@ public function __construct()
101101
// Once we have constructed the command, we'll set the description and other
102102
// related properties of the command. If a signature wasn't used to build
103103
// the command we'll set the arguments and the options on this command.
104-
if (! isset($this->description)) {
105-
$this->setDescription((string) static::getDefaultDescription());
106-
} else {
104+
if (isset($this->description)) {
107105
$this->setDescription((string) $this->description);
108106
}
109107

0 commit comments

Comments
 (0)