Skip to content

Commit f0b6331

Browse files
authored
Merge pull request #39 from PhantPHP/Fix-JWT
Fix JWT
2 parents f7ef422 + 5163ec8 commit f0b6331

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

component/Token/Jwt.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function decode(
2828
): array {
2929
try {
3030
return (array) FirebaseJwt::decode($this->value, new FirebaseKey($publicKey, self::ALGORITHM));
31-
} catch (ExpiredException | SignatureInvalidException $e) {
31+
} catch (ExpiredException | SignatureInvalidException | \Exception) {
3232
throw new NotCompliant();
3333
}
3434
}

0 commit comments

Comments
 (0)