From bc436f5b0f03042eeb3d6e8458c8cc467c8c7dfe Mon Sep 17 00:00:00 2001 From: vahidzoli Date: Mon, 8 Feb 2021 14:48:37 +0330 Subject: [PATCH] in EventDispatcherAdapter file, change fire method to dispatch --- src/Adapters/EventDispatcherAdapter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Adapters/EventDispatcherAdapter.php b/src/Adapters/EventDispatcherAdapter.php index de9ee0e6..260cab0d 100644 --- a/src/Adapters/EventDispatcherAdapter.php +++ b/src/Adapters/EventDispatcherAdapter.php @@ -46,7 +46,7 @@ abstract class EventDispatcherAdapter implements SymfonyDispatcher */ public function dispatch($eventName, Event $event = null) { - $this->laravelDispatcher->fire($eventName, $event); + $this->laravelDispatcher->dispatch($eventName, $event); return $this->symfonyDispatcher->dispatch($eventName, $event); }