diff --git a/mailer.rst b/mailer.rst index b1976444ac3..5ba85056d27 100644 --- a/mailer.rst +++ b/mailer.rst @@ -1765,7 +1765,7 @@ the HTTP calls made by the HTTP transports, which is useful for debugging errors public function onMessage(SentMessageEvent $event): void { - $message $event->getMessage(); + $message = $event->getMessage(); // do something with the message (e.g. get its id) }