Skip to content

Commit 8b0a51b

Browse files
committed
chore: fix latest php-cs-fixer findings
1 parent 500501c commit 8b0a51b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/CachedKeySet.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ private function keyIdExists(string $keyId): bool
180180
$jwksResponse = $this->httpClient->sendRequest($request);
181181
if ($jwksResponse->getStatusCode() !== 200) {
182182
throw new UnexpectedValueException(
183-
sprintf('HTTP Error: %d %s for URI "%s"',
183+
\sprintf('HTTP Error: %d %s for URI "%s"',
184184
$jwksResponse->getStatusCode(),
185185
$jwksResponse->getReasonPhrase(),
186186
$this->jwksUri,

src/JWK.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ private static function createPemFromCrvAndXYCoordinates(string $crv, string $x,
212212
)
213213
);
214214

215-
return sprintf(
215+
return \sprintf(
216216
"-----BEGIN PUBLIC KEY-----\n%s\n-----END PUBLIC KEY-----\n",
217217
wordwrap(base64_encode($pem), 64, "\n", true)
218218
);

0 commit comments

Comments
 (0)