Skip to content
This repository has been archived by the owner on Sep 22, 2024. It is now read-only.

Commit

Permalink
Fix incorrect stub name
Browse files Browse the repository at this point in the history
  • Loading branch information
pactode committed Jun 18, 2019
1 parent 8255366 commit 3960b8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Commands/EventCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ class EventCommand extends DomainGeneratorCommand
*/
protected function getStub()
{
$stubPath = config('domain-commands.stubs.action');
$stubPath = config('domain-commands.stubs.event');

if (! is_null($stubPath) && is_string($stubPath)) {
return $stubPath;
}

return __DIR__.'/stubs/action.stub';
return __DIR__.'/stubs/event.stub';
}
}

0 comments on commit 3960b8e

Please sign in to comment.