Skip to content

Commit a57a898

Browse files
authored
chore: add missing docblock param for $alg (#419)
1 parent fbb2967 commit a57a898

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/JWT.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ public static function decode(
167167
*
168168
* @param array<mixed> $payload PHP array
169169
* @param string|resource|OpenSSLAsymmetricKey|OpenSSLCertificate $key The secret key.
170+
* @param string $alg Supported algorithms are 'ES384','ES256', 'HS256', 'HS384',
171+
* 'HS512', 'RS256', 'RS384', and 'RS512'
170172
* @param string $keyId
171173
* @param array<string, string> $head An array with header elements to attach
172174
*

0 commit comments

Comments
 (0)