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

Commit 3960b8e

Browse files
committed
Fix incorrect stub name
1 parent 8255366 commit 3960b8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Commands/EventCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ class EventCommand extends DomainGeneratorCommand
3232
*/
3333
protected function getStub()
3434
{
35-
$stubPath = config('domain-commands.stubs.action');
35+
$stubPath = config('domain-commands.stubs.event');
3636

3737
if (! is_null($stubPath) && is_string($stubPath)) {
3838
return $stubPath;
3939
}
4040

41-
return __DIR__.'/stubs/action.stub';
41+
return __DIR__.'/stubs/event.stub';
4242
}
4343
}

0 commit comments

Comments
 (0)