Skip to content

Commit c1e38e8

Browse files
committed
fix type hint
1 parent 8b89947 commit c1e38e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/functions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ function throwableHandler(Throwable $throwable, string $extra = ''): void
130130
}
131131

132132
/**
133-
* @param array<string, mixed> $data
133+
* @param array<string, string> $data
134134
*/
135135
function sign(PrivateKey $privateKey, array $data): string
136136
{
@@ -142,7 +142,7 @@ function sign(PrivateKey $privateKey, array $data): string
142142
}
143143

144144
/**
145-
* @param array<string, mixed> $data
145+
* @param array<string, string> $data
146146
* @return string Serialized data (key-value pairs concatenated)
147147
*/
148148
function serialize(array $data): string

0 commit comments

Comments
 (0)