File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Test Suite
2
2
on :
3
3
push :
4
4
branches :
5
- - master
5
+ - main
6
6
pull_request :
7
7
8
8
jobs :
Original file line number Diff line number Diff line change 1
- [ ![ Build Status] ( https://travis-ci.org /firebase/php-jwt.png?branch=master )] ( https://travis-ci.org/firebase/php-jwt )
1
+ ![ Build Status] ( https://github.com /firebase/php-jwt/actions/workflows/tests.yml/badge.svg )
2
2
[ ![ Latest Stable Version] ( https://poser.pugx.org/firebase/php-jwt/v/stable )] ( https://packagist.org/packages/firebase/php-jwt )
3
3
[ ![ Total Downloads] ( https://poser.pugx.org/firebase/php-jwt/downloads )] ( https://packagist.org/packages/firebase/php-jwt )
4
4
[ ![ License] ( https://poser.pugx.org/firebase/php-jwt/license )] ( https://packagist.org/packages/firebase/php-jwt )
Original file line number Diff line number Diff line change @@ -71,7 +71,8 @@ class JWT
71
71
*
72
72
* @return object The JWT's payload as a PHP object
73
73
*
74
- * @throws InvalidArgumentException Provided JWT was empty
74
+ * @throws InvalidArgumentException Provided key/key-array was empty
75
+ * @throws DomainException Provided JWT is malformed
75
76
* @throws UnexpectedValueException Provided JWT was invalid
76
77
* @throws SignatureInvalidException Provided JWT was invalid because the signature verification failed
77
78
* @throws BeforeValidException Provided JWT is trying to be used before it's eligible as defined by 'nbf'
You can’t perform that action at this time.
0 commit comments