diff options
author | drtriumph <chris@firebase.com> | 2014-11-14 14:05:46 -0800 |
---|---|---|
committer | drtriumph <chris@firebase.com> | 2014-11-14 14:05:46 -0800 |
commit | c40229f5d15b067dcf58f30df262a1efe566fba6 (patch) | |
tree | 27ddb527614d4ffe73043ed1d82f0ffcd61c78aa /Authentication/JWT.php | |
parent | ea4db8dbf2d74ed75ff1e5c89ac42e55a9ff1d6f (diff) | |
download | php-jwt-c40229f5d15b067dcf58f30df262a1efe566fba6.zip php-jwt-c40229f5d15b067dcf58f30df262a1efe566fba6.tar.gz php-jwt-c40229f5d15b067dcf58f30df262a1efe566fba6.tar.bz2 |
Some minor cleanup from @brendo's PR with a quick rename
Diffstat (limited to 'Authentication/JWT.php')
-rw-r--r-- | Authentication/JWT.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Authentication/JWT.php b/Authentication/JWT.php index 78fe7d2..76c33bb 100644 --- a/Authentication/JWT.php +++ b/Authentication/JWT.php @@ -74,7 +74,7 @@ class JWT // Check if the nbf if it is defined. if (isset($payload->nbf) && $payload->nbf > time()) { - throw new TooEarlyException( + throw new BeforeValidException( 'Cannot handle token prior to ' . date(DateTime::ISO8601, $payload->nbf) ); } |