Skip to content

Commit 373b3b3

Browse files
Merge branch '5.0'
* 5.0: Fix closing tag in mailer collector template [Notifier] Fix two minor issues [HttpClient] Don't read from the network faster than the CPU can deal with [DI] DecoratorServicePass should keep container.service_locator on the decorated definition
2 parents 1e0ac24 + 6d61360 commit 373b3b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Message/SmsMessage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function __construct(string $phone, string $subject)
3737
public static function fromNotification(Notification $notification, Recipient $recipient, string $transport = null): self
3838
{
3939
if (!$recipient instanceof SmsRecipientInterface) {
40-
throw new LogicException(sprintf('To send a SMS message, "%s" should implement "%s" or the recipient should implement "%s".', get_class($notification), SmsNotificationInterface::class, SmsRecipientInterface::class));
40+
throw new LogicException(sprintf('To send a SMS message, "%s" should implement "%s" or the recipient should implement "%s".', \get_class($notification), SmsNotificationInterface::class, SmsRecipientInterface::class));
4141
}
4242

4343
return new self($recipient->getPhone(), $notification->getSubject());

0 commit comments

Comments
 (0)