* LightSmsTransport.php - fix

This commit is contained in:
Vasilij Dusko | CREATION 2021-04-06 13:06:59 +03:00
parent 4213564be1
commit 2a9ac2d92a

View File

@ -114,7 +114,7 @@ final class LightSmsTransport extends AbstractTransport
$response = $this->client->request('GET', $endpoint);
if (Response::HTTP_OK !== $response->getStatusCode()) {
throw new TransportException('Unable to send the SMS: ', $response);
throw new TransportException('Unable to send the SMS', $response);
}
$content = $response->toArray(false);
@ -140,7 +140,7 @@ final class LightSmsTransport extends AbstractTransport
return $sentMessage;
}
throw new TransportException('Unable to send the SMS: ', $response);
throw new TransportException('Unable to send the SMS', $response);
}
private function generateSignature(array $data, int $timestamp): string