Skip to content

Commit 2a83728

Browse files
authored
Merge branch 'main' into v6.0
2 parents d23c5f4 + fbe6394 commit 2a83728

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Test Suite
22
on:
33
push:
44
branches:
5-
- master
5+
- main
66
pull_request:
77

88
jobs:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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)
22
[![Latest Stable Version](https://poser.pugx.org/firebase/php-jwt/v/stable)](https://packagist.org/packages/firebase/php-jwt)
33
[![Total Downloads](https://poser.pugx.org/firebase/php-jwt/downloads)](https://packagist.org/packages/firebase/php-jwt)
44
[![License](https://poser.pugx.org/firebase/php-jwt/license)](https://packagist.org/packages/firebase/php-jwt)

src/JWT.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ class JWT
7171
*
7272
* @return object The JWT's payload as a PHP object
7373
*
74-
* @throws InvalidArgumentException Provided JWT was empty
74+
* @throws InvalidArgumentException Provided key/key-array was empty
75+
* @throws DomainException Provided JWT is malformed
7576
* @throws UnexpectedValueException Provided JWT was invalid
7677
* @throws SignatureInvalidException Provided JWT was invalid because the signature verification failed
7778
* @throws BeforeValidException Provided JWT is trying to be used before it's eligible as defined by 'nbf'

0 commit comments

Comments
 (0)