From 2e1af197d22c166770b42590eabec24313e163c9 Mon Sep 17 00:00:00 2001 From: Michal Borychowski <807297+boryn@users.noreply.github.com> Date: Wed, 6 Dec 2023 15:47:18 +0100 Subject: [PATCH] Change not supported fire() to dispatch() --- src/PushoverChannel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PushoverChannel.php b/src/PushoverChannel.php index c42f960..7649e7b 100644 --- a/src/PushoverChannel.php +++ b/src/PushoverChannel.php @@ -55,7 +55,7 @@ public function send($notifiable, Notification $notification) protected function fireFailedEvent($notifiable, $notification, $message) { - $this->events->fire( + $this->events->dispatch( new NotificationFailed($notifiable, $notification, 'pushover', [$message]) ); }