Skip to content

Commit

Permalink
Include --model to make:policy
Browse files Browse the repository at this point in the history
  • Loading branch information
tfevens authored Sep 10, 2021
1 parent 22defeb commit 46d7093
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Illuminate/Foundation/Console/ModelMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ protected function createPolicy()

$this->call('make:policy', [
'name' => "{$policy}Policy",
'--model' => $this->qualifyClass($this->getNameInput()),
]);
}

Expand Down

0 comments on commit 46d7093

Please sign in to comment.