From e9ecb9a9fdc21559f573a0965ae8519567bb94a4 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Wed, 13 May 2020 22:54:24 +0100 Subject: [PATCH] fixed build failure --- src/network/mcpe/JwtUtils.php | 4 ++++ 1 file changed, 4 insertions(+) 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));