Skip to content

Commit d5f7e03

Browse files
committed
docs: allow array of strings in head param
1 parent 43d70ae commit d5f7e03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JWT.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public static function decode(
189189
* @param string $alg Supported algorithms are 'ES384','ES256', 'ES256K', 'HS256',
190190
* 'HS384', 'HS512', 'RS256', 'RS384', and 'RS512'
191191
* @param string $keyId
192-
* @param array<string, string> $head An array with header elements to attach
192+
* @param array<string, string|string[]> $head An array with header elements to attach
193193
*
194194
* @return string A signed JWT
195195
*

0 commit comments

Comments
 (0)