Skip to content

Commit b978fc5

Browse files
author
julien
committed
feat(events): Change signature EventHandler
Remove Event Interface type in EventHandler to accept other EventInterface like the interface create in the Domain application
1 parent ced7b7b commit b978fc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Event/Interfaces/EventHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
interface EventHandler
88
{
9-
public function handle(Event $event): void;
9+
public function handle($event): void;
1010

1111
public function listenTo(): string;
1212
}

0 commit comments

Comments
 (0)