Skip to content

Commit

Permalink
Fix conflicts on ModelMakeCommand (#19939)
Browse files Browse the repository at this point in the history
I've renamed the shortcut for the factory, otherwise it would throw an error saying that 2 shortcuts with the same name exist.
  • Loading branch information
brunogaspar authored and taylorotwell committed Jul 7, 2017
1 parent 5ac005a commit a64963f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/Illuminate/Foundation/Console/ModelMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,19 +133,15 @@ protected function getDefaultNamespace($rootNamespace)
protected function getOptions()
{
return [
<<<<<<< HEAD
['all', 'a', InputOption::VALUE_NONE, 'Generate a migration, factory, and resource controller for the model'],

['controller', 'c', InputOption::VALUE_NONE, 'Create a new controller for the model'],

['factory', 'f', InputOption::VALUE_NONE, 'Create a new factory for the model'],
=======
['factory', 'fa', InputOption::VALUE_NONE, 'Create a new factory for the model'],

['force', 'f', InputOption::VALUE_NONE, 'Create the class even if the model already exists.'],

['migration', 'm', InputOption::VALUE_NONE, 'Create a new migration file for the model.'],
>>>>>>> 5.4

['migration', 'm', InputOption::VALUE_NONE, 'Create a new migration file for the model'],

['resource', 'r', InputOption::VALUE_NONE, 'Indicates if the generated controller should be a resource controller.'],
];
Expand Down

0 comments on commit a64963f

Please sign in to comment.