Skip to content

Commit 7b4f4d2

Browse files
authored
chore: add phpdoc @throws in JWT::decode (#320)
1 parent f42c911 commit 7b4f4d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/JWT.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ class JWT
6262
*
6363
* @return object The JWT's payload as a PHP object
6464
*
65+
* @throws InvalidArgumentException Provided JWT was empty
6566
* @throws UnexpectedValueException Provided JWT was invalid
6667
* @throws SignatureInvalidException Provided JWT was invalid because the signature verification failed
6768
* @throws BeforeValidException Provided JWT is trying to be used before it's eligible as defined by 'nbf'

0 commit comments

Comments
 (0)