Skip to content

Commit 3062083

Browse files
authored
Fix types of Console\Command properties (#37495)
`Command::$description` and `Command::$help` are never null, because they are set via `Command::setDescription()` and `Command::setHelp()` respectively in the constructor.
1 parent 235e52a commit 3062083

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Illuminate/Console/Command.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ class Command extends SymfonyCommand
3838
/**
3939
* The console command description.
4040
*
41-
* @var string|null
41+
* @var string
4242
*/
4343
protected $description;
4444

4545
/**
4646
* The console command help text.
4747
*
48-
* @var string|null
48+
* @var string
4949
*/
5050
protected $help;
5151

0 commit comments

Comments
 (0)