Skip to content

Commit f7886d5

Browse files
authored
chore(docs): encode does not accept objects (#457)
1 parent 1cd2137 commit f7886d5

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
@@ -166,7 +166,7 @@ public static function decode(
166166
}
167167

168168
/**
169-
* Converts and signs a PHP object or array into a JWT string.
169+
* Converts and signs a PHP array into a JWT string.
170170
*
171171
* @param array<mixed> $payload PHP array
172172
* @param string|resource|OpenSSLAsymmetricKey|OpenSSLCertificate $key The secret key.

0 commit comments

Comments
 (0)