File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -857,7 +857,7 @@ dispatched. Listeners receive a
857857 $message = $event->getMessage();
858858
859859 // log something
860- $this->logger(sprintf('Message with subject: %s will be send to %s, $message->getSubject(), $message->getRecipientId()' ));
860+ $this->logger(sprintf('Message with subject: %s will be send to %s' , $message->getSubject(), $message->getRecipientId()));
861861 });
862862
863863The ``FailedMessageEvent `` Event
@@ -883,7 +883,7 @@ Listeners receive a
883883 $error = $event->getError();
884884
885885 // log something
886- $this->logger(sprintf('The message with subject: %s has not been sent successfully. The error is: %s, $message->getSubject(), $error->getMessage()' ));
886+ $this->logger(sprintf('The message with subject: %s has not been sent successfully. The error is: %s' , $message->getSubject(), $error->getMessage()));
887887 });
888888
889889The ``SentMessageEvent `` Event
@@ -903,7 +903,7 @@ is dispatched. Listeners receive a
903903 $message = $event->getOriginalMessage();
904904
905905 // log something
906- $this->logger(sprintf('The message has been successfully sent and has id: %s, $message->getMessageId()' ));
906+ $this->logger(sprintf('The message has been successfully sent and has id: %s' , $message->getMessageId()));
907907 });
908908
909909.. TODO
You can’t perform that action at this time.
0 commit comments