Skip to content

Commit e72feba

Browse files
Merge pull request #76 from akeeman/patch-1
Remove null as possible key value in docblock
2 parents c35d52b + d99ab40 commit e72feba

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/JWT.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ class JWT
3939
/**
4040
* Decodes a JWT string into a PHP object.
4141
*
42-
* @param string $jwt The JWT
43-
* @param string|array|null $key The key, or map of keys.
44-
* If the algorithm used is asymmetric, this is the public key
45-
* @param array $allowed_algs List of supported verification algorithms
46-
* Supported algorithms are 'HS256', 'HS384', 'HS512' and 'RS256'
42+
* @param string $jwt The JWT
43+
* @param string|array $key The key, or map of keys.
44+
* If the algorithm used is asymmetric, this is the public key
45+
* @param array $allowed_algs List of supported verification algorithms
46+
* Supported algorithms are 'HS256', 'HS384', 'HS512' and 'RS256'
4747
*
4848
* @return object The JWT's payload as a PHP object
4949
*

0 commit comments

Comments
 (0)