From 9e886f09c6c63c9ba13048d359598e5f4c2613d5 Mon Sep 17 00:00:00 2001 From: Benoit Borrel <234378+bborrel@users.noreply.github.com> Date: Tue, 2 Feb 2021 17:37:03 -0500 Subject: [PATCH] phpDoc @throws InvalidArgumentException in JWT::decode() --- src/JWT.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/JWT.php b/src/JWT.php index 4860028b..76a0551c 100644 --- a/src/JWT.php +++ b/src/JWT.php @@ -62,6 +62,7 @@ class JWT * * @return object The JWT's payload as a PHP object * + * @throws InvalidArgumentException Provided JWT was empty * @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'