Skip to content

Commit

Permalink
chore(docs): add throws DomainException for JWT::decode (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
dakujem authored Dec 1, 2021
1 parent 83b6090 commit 12ec2fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/JWT.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ class JWT
*
* @return object The JWT's payload as a PHP object
*
* @throws InvalidArgumentException Provided JWT was empty
* @throws InvalidArgumentException Provided key/key-array was empty
* @throws DomainException Provided JWT is malformed
* @throws UnexpectedValueException Provided JWT was invalid
* @throws SignatureInvalidException Provided JWT was invalid because the signature verification failed
* @throws BeforeValidException Provided JWT is trying to be used before it's eligible as defined by 'nbf'
Expand Down

0 comments on commit 12ec2fe

Please sign in to comment.