Skip to content

Commit

Permalink
use correct input option
Browse files Browse the repository at this point in the history
  • Loading branch information
chrissm79 committed Jun 5, 2016
1 parent 7cee514 commit fc59c20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Support/Console/Commands/MutationMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ protected function getDefaultNamespace($rootNamespace)
protected function getOptions()
{
return [
['relay', null, InputOption::VALUE_OPTIONAL, 'Generate a Relay Mutation.'],
['relay', null, InputOption::VALUE_NONE, 'Generate a Relay Mutation.'],
];
}
}
2 changes: 1 addition & 1 deletion src/Support/Console/Commands/TypeMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ protected function buildClass($name)
protected function getOptions()
{
return [
['relay', null, InputOption::VALUE_OPTIONAL, 'Generate a Relay GraphQL type.'],
['relay', null, InputOption::VALUE_NONE, 'Generate a Relay GraphQL type.'],
['model', null, InputOption::VALUE_OPTIONAL, 'Generate a Eloquent GraphQL type.'],
];
}
Expand Down

0 comments on commit fc59c20

Please sign in to comment.