Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jul 22, 2018
1 parent cacc6d3 commit 66f2617
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
6 changes: 1 addition & 5 deletions src/Illuminate/Routing/Console/ControllerMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,13 +175,9 @@ protected function getOptions()
{
return [
['model', 'm', InputOption::VALUE_OPTIONAL, 'Generate a resource controller for the given model.'],

['resource', 'r', InputOption::VALUE_NONE, 'Generate a resource controller class.'],

['invokable', 'i', InputOption::VALUE_NONE, 'Generate a single action controller class.'],

['invokable', 'i', InputOption::VALUE_NONE, 'Generate a single method, invokable controller class.'],
['parent', 'p', InputOption::VALUE_OPTIONAL, 'Generate a nested resource controller class.'],

['api', null, InputOption::VALUE_NONE, 'Exclude the create and edit methods from the controller.'],
];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ use DummyRootNamespaceHttp\Controllers\Controller;
class DummyClass extends Controller
{
/**
* Run action.
* Handle the incoming request.
*
* @param \Illuminate\Http\Request
* @return \Illuminate\Http\Response
*/
public function __invoke()
public function __invoke(Request $request)
{
//
}
Expand Down

0 comments on commit 66f2617

Please sign in to comment.