Skip to content

Commit

Permalink
ReMove default assignment alias in abstract class. The alias should b…
Browse files Browse the repository at this point in the history
…e set in the classes which extend the FormCommand (#3678)
  • Loading branch information
LOBsTerr authored and jmolivas committed Jan 11, 2018
1 parent 0935cdc commit f08a2fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Command/Generate/FormBaseCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ protected function configure()
{
$this->setFormType('FormBase');
$this->setCommandName('generate:form');
$this->setAliases(['gf']);
parent::configure();
}
}
2 changes: 1 addition & 1 deletion src/Command/Generate/FormCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ protected function configure()
null,
InputOption::VALUE_OPTIONAL,
$this->trans('commands.generate.form.options.menu-link-desc')
)->setAliases(['gf']);
);
}

/**
Expand Down

0 comments on commit f08a2fa

Please sign in to comment.