summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRob DiMarco <rdimarco@google.com>2016-06-16 12:49:56 -0700
committerGitHub <noreply@github.com>2016-06-16 12:49:56 -0700
commite72feba13ef69a08a98f18fbbb379ecf47f4ef30 (patch)
tree16170e81e4c67a0486bfdfafda2988c5903eceb0 /src
parentc35d52bd53fafd4a92c72c8e0b8489ebfc1a4306 (diff)
parentd99ab404a14a6169d0e3961a941e67e0bc3f3cea (diff)
downloadphp-jwt-e72feba13ef69a08a98f18fbbb379ecf47f4ef30.zip
php-jwt-e72feba13ef69a08a98f18fbbb379ecf47f4ef30.tar.gz
php-jwt-e72feba13ef69a08a98f18fbbb379ecf47f4ef30.tar.bz2
Merge pull request #76 from akeeman/patch-1
Remove null as possible key value in docblock
Diffstat (limited to 'src')
-rw-r--r--src/JWT.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/JWT.php b/src/JWT.php
index b3532df..955351b 100644
--- a/src/JWT.php
+++ b/src/JWT.php
@@ -39,11 +39,11 @@ class JWT
/**
* Decodes a JWT string into a PHP object.
*
- * @param string $jwt The JWT
- * @param string|array|null $key The key, or map of keys.
- * If the algorithm used is asymmetric, this is the public key
- * @param array $allowed_algs List of supported verification algorithms
- * Supported algorithms are 'HS256', 'HS384', 'HS512' and 'RS256'
+ * @param string $jwt The JWT
+ * @param string|array $key The key, or map of keys.
+ * If the algorithm used is asymmetric, this is the public key
+ * @param array $allowed_algs List of supported verification algorithms
+ * Supported algorithms are 'HS256', 'HS384', 'HS512' and 'RS256'
*
* @return object The JWT's payload as a PHP object
*