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 @@ -892,7 +892,7 @@ dispatched. Listeners receive a
892892 $message = $event->getMessage();
893893
894894 // log something
895- $this->logger(sprintf('Message with subject: %s will be send to %s, $message->getSubject(), $message->getRecipientId()' ));
895+ $this->logger(sprintf('Message with subject: %s will be send to %s' , $message->getSubject(), $message->getRecipientId()));
896896 });
897897
898898The ``FailedMessageEvent `` Event
@@ -918,7 +918,7 @@ Listeners receive a
918918 $error = $event->getError();
919919
920920 // log something
921- $this->logger(sprintf('The message with subject: %s has not been sent successfully. The error is: %s, $message->getSubject(), $error->getMessage()' ));
921+ $this->logger(sprintf('The message with subject: %s has not been sent successfully. The error is: %s' , $message->getSubject(), $error->getMessage()));
922922 });
923923
924924The ``SentMessageEvent `` Event
@@ -938,7 +938,7 @@ is dispatched. Listeners receive a
938938 $message = $event->getOriginalMessage();
939939
940940 // log something
941- $this->logger(sprintf('The message has been successfully sent and has id: %s, $message->getMessageId()' ));
941+ $this->logger(sprintf('The message has been successfully sent and has id: %s' , $message->getMessageId()));
942942 });
943943
944944.. TODO
You can’t perform that action at this time.
0 commit comments