diff options
author | Tim Stamp <github@timstamp.co.uk> | 2017-01-24 10:56:53 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-24 10:56:53 +0000 |
commit | 64d7eb06134058728fae1c8027c8ebe4e61bdfc6 (patch) | |
tree | 5e610778dab94c3112dced38d78c6a02ccf2305c /src | |
parent | 491ab3a80566cd1427549994ee7a07d9154311c4 (diff) | |
download | php-jwt-64d7eb06134058728fae1c8027c8ebe4e61bdfc6.zip php-jwt-64d7eb06134058728fae1c8027c8ebe4e61bdfc6.tar.gz php-jwt-64d7eb06134058728fae1c8027c8ebe4e61bdfc6.tar.bz2 |
cosmetic updates
Diffstat (limited to 'src')
-rw-r--r-- | src/JWT.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/JWT.php b/src/JWT.php index 8170dba..d45052c 100644 --- a/src/JWT.php +++ b/src/JWT.php @@ -98,8 +98,8 @@ class JWT } if (is_array($key) || $key instanceof \ArrayAccess) { if (isset($header->kid)) { - if(!isset($key[$header->kid])) { - throw new UnexpectedValueException('"kid" not found in key map, unable to lookup correct key'); + if (!isset($key[$header->kid])) { + throw new UnexpectedValueException('"kid" invalid, unable to lookup correct key'); } $key = $key[$header->kid]; } else { |