mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-13 09:19:42 +00:00
JwtUtils: fix minor formatting issue
This commit is contained in:
parent
44a7829536
commit
486e0e710b
@ -73,7 +73,7 @@ final class JwtUtils{
|
|||||||
}
|
}
|
||||||
$header = json_decode(self::b64UrlDecode($v[0]), true);
|
$header = json_decode(self::b64UrlDecode($v[0]), true);
|
||||||
if(!is_array($header)){
|
if(!is_array($header)){
|
||||||
throw new \UnexpectedValueException("Failed to decode JWT header JSON: ". json_last_error_msg());
|
throw new \UnexpectedValueException("Failed to decode JWT header JSON: " . json_last_error_msg());
|
||||||
}
|
}
|
||||||
$body = json_decode(self::b64UrlDecode($v[1]), true);
|
$body = json_decode(self::b64UrlDecode($v[1]), true);
|
||||||
if(!is_array($body)){
|
if(!is_array($body)){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user