Skip to content

Commit 66f3dec

Browse files
authored
docs: allow array of strings in head param (#599)
1 parent 5645b43 commit 66f3dec

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
@@ -202,7 +202,7 @@ public static function decode(
202202
* @param string $alg Supported algorithms are 'ES384','ES256', 'ES256K', 'HS256',
203203
* 'HS384', 'HS512', 'RS256', 'RS384', and 'RS512'
204204
* @param string $keyId
205-
* @param array<string, string> $head An array with header elements to attach
205+
* @param array<string, string|string[]> $head An array with header elements to attach
206206
*
207207
* @return string A signed JWT
208208
*

0 commit comments

Comments
 (0)