Skip to content

Commit cc00fc8

Browse files
authored
Change __toString() call to string cast in TokenGenerator.
1 parent 59213ce commit cc00fc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TokenGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,6 @@ private function makeJwkThumbprint($dpop): string
210210
private function getJwks() {
211211
$key = $this->config->getKeys()->getPublicKey();
212212
$jwks = new Jwks($key);
213-
return json_decode($jwks->__toString(), true);
213+
return json_decode((string) $jwks, true);
214214
}
215215
}

0 commit comments

Comments
 (0)