fixed build failure

This commit is contained in:
Dylan K. Taylor 2020-05-13 22:54:24 +01:00
parent 97a4a53e59
commit e9ecb9a9fd

View File

@ -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{
$jwtBody = JwtUtils::b64UrlEncode(json_encode($header)) . "." . JwtUtils::b64UrlEncode(json_encode($claims));