Skip to content

Commit 03f3d7d

Browse files
lucifurioustaylorotwell
authored andcommitted
Set $name in Console\Command because Symfony subclass $name is private for some reason. (#17610)
1 parent d074b4e commit 03f3d7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Console/Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ protected function configureUsingFluentDefinition()
121121
{
122122
list($name, $arguments, $options) = Parser::parse($this->signature);
123123

124-
parent::__construct($name);
124+
parent::__construct($this->name = $name);
125125

126126
// After parsing the signature we will spin through the arguments and options
127127
// and set them on this command. These will already be changed into proper

0 commit comments

Comments
 (0)