diff --git a/src/JWT.php b/src/JWT.php index 843d0ae0..bf064e34 100644 --- a/src/JWT.php +++ b/src/JWT.php @@ -167,6 +167,8 @@ public static function decode( * * @param array $payload PHP array * @param string|resource|OpenSSLAsymmetricKey|OpenSSLCertificate $key The secret key. + * @param string $alg Supported algorithms are 'ES384','ES256', 'HS256', 'HS384', + * 'HS512', 'RS256', 'RS384', and 'RS512' * @param string $keyId * @param array $head An array with header elements to attach *