mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-17 11:18:52 +00:00
fixed build failure
This commit is contained in:
parent
97a4a53e59
commit
e9ecb9a9fd
@ -115,6 +115,10 @@ final class JwtUtils{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @phpstan-param array<string, mixed> $header
|
||||||
|
* @phpstan-param array<string, mixed> $claims
|
||||||
|
*/
|
||||||
public static function create(array $header, array $claims, PrivateKeyInterface $signingKey) : string{
|
public static function create(array $header, array $claims, PrivateKeyInterface $signingKey) : string{
|
||||||
$jwtBody = JwtUtils::b64UrlEncode(json_encode($header)) . "." . JwtUtils::b64UrlEncode(json_encode($claims));
|
$jwtBody = JwtUtils::b64UrlEncode(json_encode($header)) . "." . JwtUtils::b64UrlEncode(json_encode($claims));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user