Skip to content

Commit 62cfe68

Browse files
committed
Merge branch '6.2' into 6.3
* 6.2: [Notifier] Fix a minor syntax issue Fix typo on codeblock
2 parents 0c30c95 + c2165d1 commit 62cfe68

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

notifier.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ a third-party service that sends SMS messages. Symfony provides integration
5959
with a couple popular SMS services:
6060

6161
================== ===================================== ===========================================================================
62-
Service Package DSN
62+
Service Package DSN
6363
================== ===================================== ===========================================================================
6464
`46elks`_ ``symfony/forty-six-elks-notifier`` ``forty-six-elks://API_USERNAME:API_PASSWORD@default?from=FROM``
6565
`AllMySms`_ ``symfony/all-my-sms-notifier`` ``allmysms://LOGIN:APIKEY@default?from=FROM``
@@ -915,7 +915,7 @@ dispatched. Listeners receive a
915915
$message = $event->getMessage();
916916

917917
// log something
918-
$this->logger(sprintf('Message with subject: %s will be send to %s, $message->getSubject(), $message->getRecipientId()'));
918+
$this->logger(sprintf('Message with subject: %s will be send to %s', $message->getSubject(), $message->getRecipientId()));
919919
});
920920

921921
The ``FailedMessageEvent`` Event
@@ -941,7 +941,7 @@ Listeners receive a
941941
$error = $event->getError();
942942

943943
// log something
944-
$this->logger(sprintf('The message with subject: %s has not been sent successfully. The error is: %s, $message->getSubject(), $error->getMessage()'));
944+
$this->logger(sprintf('The message with subject: %s has not been sent successfully. The error is: %s', $message->getSubject(), $error->getMessage()));
945945
});
946946

947947
The ``SentMessageEvent`` Event
@@ -961,7 +961,7 @@ is dispatched. Listeners receive a
961961
$message = $event->getOriginalMessage();
962962

963963
// log something
964-
$this->logger(sprintf('The message has been successfully sent and has id: %s, $message->getMessageId()'));
964+
$this->logger(sprintf('The message has been successfully sent and has id: %s', $message->getMessageId()));
965965
});
966966

967967
.. TODO

0 commit comments

Comments
 (0)