Skip to content

Commit 1809ed3

Browse files
authored
Upgrade the minimum php version to 8.0 for scout. (#4400)
1 parent 082eca6 commit 1809ed3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/Command.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ abstract class Command extends SymfonyCommand
3636
*/
3737
protected ?string $name = null;
3838

39+
protected string $description = '';
40+
3941
protected ?InputInterface $input = null;
4042

4143
/**
@@ -91,6 +93,7 @@ public function __construct(string $name = null)
9193
$this->configureUsingFluentDefinition();
9294
} else {
9395
parent::__construct($this->name);
96+
! empty($this->description) && $this->setDescription($this->description);
9497
}
9598

9699
$this->addEnableDispatcherOption();

0 commit comments

Comments
 (0)