Skip to content

Commit 2a9ac2d

Browse files
author
Vasilij Dusko | CREATION
committed
* LightSmsTransport.php - fix
1 parent 4213564 commit 2a9ac2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Notifier/Bridge/LightSms/LightSmsTransport.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ protected function doSend(MessageInterface $message): SentMessage
114114
$response = $this->client->request('GET', $endpoint);
115115

116116
if (Response::HTTP_OK !== $response->getStatusCode()) {
117-
throw new TransportException('Unable to send the SMS: ', $response);
117+
throw new TransportException('Unable to send the SMS', $response);
118118
}
119119

120120
$content = $response->toArray(false);
@@ -140,7 +140,7 @@ protected function doSend(MessageInterface $message): SentMessage
140140
return $sentMessage;
141141
}
142142

143-
throw new TransportException('Unable to send the SMS: ', $response);
143+
throw new TransportException('Unable to send the SMS', $response);
144144
}
145145

146146
private function generateSignature(array $data, int $timestamp): string

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy