Skip to content

Commit 50a9aee

Browse files
CS fixes
1 parent 8ecc0bc commit 50a9aee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

SmsapiTransport.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function __toString(): string
7070
'test' => (int) $this->test,
7171
]);
7272

73-
return sprintf('smsapi://%s%s', $this->getEndpoint(), $query ? '?'.http_build_query($query, '', '&') : '');
73+
return \sprintf('smsapi://%s%s', $this->getEndpoint(), $query ? '?'.http_build_query($query, '', '&') : '');
7474
}
7575

7676
public function supports(MessageInterface $message): bool
@@ -98,7 +98,7 @@ protected function doSend(MessageInterface $message): SentMessage
9898
$body['from'] = $from;
9999
}
100100

101-
$endpoint = sprintf('https://%s/sms.do', $this->getEndpoint());
101+
$endpoint = \sprintf('https://%s/sms.do', $this->getEndpoint());
102102
$response = $this->client->request('POST', $endpoint, [
103103
'auth_bearer' => $this->authToken,
104104
'body' => $body,
@@ -117,7 +117,7 @@ protected function doSend(MessageInterface $message): SentMessage
117117
}
118118

119119
if (isset($content['error']) || 200 !== $statusCode) {
120-
throw new TransportException(sprintf('Unable to send the SMS: "%s".', $content['message'] ?? 'unknown error'), $response);
120+
throw new TransportException(\sprintf('Unable to send the SMS: "%s".', $content['message'] ?? 'unknown error'), $response);
121121
}
122122

123123
$sentMessage = new SentMessage($message, (string) $this);

0 commit comments

Comments
 (0)