Skip to content

Commit 381a08d

Browse files
CS fixes
1 parent a541b40 commit 381a08d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

GatewayApiTransport.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function __construct(#[\SensitiveParameter] string $authToken, string $fr
4141

4242
public function __toString(): string
4343
{
44-
return sprintf('gatewayapi://%s?from=%s', $this->getEndpoint(), $this->from);
44+
return \sprintf('gatewayapi://%s?from=%s', $this->getEndpoint(), $this->from);
4545
}
4646

4747
public function supports(MessageInterface $message): bool
@@ -60,7 +60,7 @@ protected function doSend(MessageInterface $message): SentMessage
6060
$options['recipients'] = [['msisdn' => $message->getPhone()]];
6161
$options['message'] = $message->getSubject();
6262

63-
$endpoint = sprintf('https://%s/rest/mtsms', $this->getEndpoint());
63+
$endpoint = \sprintf('https://%s/rest/mtsms', $this->getEndpoint());
6464

6565
$response = $this->client->request('POST', $endpoint, [
6666
'auth_basic' => [$this->authToken, ''],
@@ -74,7 +74,7 @@ protected function doSend(MessageInterface $message): SentMessage
7474
}
7575

7676
if (200 !== $statusCode) {
77-
throw new TransportException(sprintf('Unable to send the SMS: error %d.', $statusCode), $response);
77+
throw new TransportException(\sprintf('Unable to send the SMS: error %d.', $statusCode), $response);
7878
}
7979

8080
$content = $response->toArray(false);

0 commit comments

Comments
 (0)