We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c65758 commit 22fc1eeCopy full SHA for 22fc1ee
EventListener/SendFailedMessageToNotifierListener.php
@@ -43,7 +43,7 @@ public function onMessageFailed(WorkerMessageFailedEvent $event)
43
}
44
$envelope = $event->getEnvelope();
45
$notification = Notification::fromThrowable($throwable)->importance(Notification::IMPORTANCE_HIGH);
46
- $notification->subject(sprintf('A "%s" message has just failed: %s.', \get_class($envelope->getMessage()), $notification->getSubject()));
+ $notification->subject(sprintf('A "%s" message has just failed: %s.', $envelope->getMessage()::class, $notification->getSubject()));
47
48
$this->notifier->send($notification, ...$this->notifier->getAdminRecipients());
49
0 commit comments