Skip to content

Commit

Permalink
Set $name in Console\Command because Symfony subclass $name is privat…
Browse files Browse the repository at this point in the history
…e for some reason. (#17610)
  • Loading branch information
lucifurious authored and taylorotwell committed Jan 27, 2017
1 parent d074b4e commit 03f3d7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Console/Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ protected function configureUsingFluentDefinition()
{
list($name, $arguments, $options) = Parser::parse($this->signature);

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

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

0 comments on commit 03f3d7d

Please sign in to comment.