diff --git a/src/network/mcpe/JwtUtils.php b/src/network/mcpe/JwtUtils.php index c60a289cd..4f127efc0 100644 --- a/src/network/mcpe/JwtUtils.php +++ b/src/network/mcpe/JwtUtils.php @@ -115,6 +115,10 @@ final class JwtUtils{ } } + /** + * @phpstan-param array $header + * @phpstan-param array $claims + */ public static function create(array $header, array $claims, PrivateKeyInterface $signingKey) : string{ $jwtBody = JwtUtils::b64UrlEncode(json_encode($header)) . "." . JwtUtils::b64UrlEncode(json_encode($claims));