You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -78,7 +78,7 @@ protected function doSend(MessageInterface $message): SentMessage
78
78
$options['from_email'] ?? $this->fromEmail;
79
79
80
80
if (isset($options['from']) && !preg_match('/^[a-zA-Z0-9\s]{3,11}$/', $options['from']) && !preg_match('/^\+[1-9]\d{1,14}$/', $options['from'])) {
81
-
thrownewInvalidArgumentException(sprintf('The "From" number "%s" is not a valid phone number, shortcode, or alphanumeric sender ID.', $options['from']));
81
+
thrownewInvalidArgumentException(\sprintf('The "From" number "%s" is not a valid phone number, shortcode, or alphanumeric sender ID.', $options['from']));
82
82
}
83
83
84
84
if ($options['list_id'] ?? false) {
@@ -98,7 +98,7 @@ protected function doSend(MessageInterface $message): SentMessage
98
98
99
99
if (200 !== $statusCode) {
100
100
$error = $response->getContent(false);
101
-
thrownewTransportException(sprintf('Unable to send the SMS - "%s".', $error ?: 'unknown failure'), $response);
101
+
thrownewTransportException(\sprintf('Unable to send the SMS - "%s".', $error ?: 'unknown failure'), $response);
0 commit comments