* LightSmsTransport.php - fix
This commit is contained in:
parent
4213564be1
commit
2a9ac2d92a
@ -114,7 +114,7 @@ final class LightSmsTransport extends AbstractTransport
|
|||||||
$response = $this->client->request('GET', $endpoint);
|
$response = $this->client->request('GET', $endpoint);
|
||||||
|
|
||||||
if (Response::HTTP_OK !== $response->getStatusCode()) {
|
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);
|
$content = $response->toArray(false);
|
||||||
@ -140,7 +140,7 @@ final class LightSmsTransport extends AbstractTransport
|
|||||||
return $sentMessage;
|
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
|
private function generateSignature(array $data, int $timestamp): string
|
||||||
|
Reference in New Issue
Block a user