We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4652ccb commit 93a3b1fCopy full SHA for 93a3b1f
SmsapiTransport.php
@@ -79,7 +79,7 @@ protected function doSend(MessageInterface $message): SentMessage
79
throw new TransportException('Could not decode body to an array.', $response, 0, $e);
80
}
81
82
- if ((isset($content['error']) && null !== $content['error']) || (200 !== $statusCode)) {
+ if (isset($content['error']) || 200 !== $statusCode) {
83
throw new TransportException(sprintf('Unable to send the SMS: "%s".', $content['message'] ?? 'unknown error'), $response);
84
85
0 commit comments