Skip to content

Commit

Permalink
Merge pull request #919 from jrfnl/feature/php-8.1-fix-missing-return…
Browse files Browse the repository at this point in the history
…-type

PHP 8.1: fix deprecation notice
  • Loading branch information
ramsey authored Nov 29, 2021
2 parents d0f43ef + 47bba07 commit 9d1eb91
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Token/AccessTokenInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
namespace League\OAuth2\Client\Token;

use JsonSerializable;
use ReturnTypeWillChange;
use RuntimeException;

interface AccessTokenInterface extends JsonSerializable
Expand Down Expand Up @@ -68,5 +69,6 @@ public function __toString();
*
* @return array
*/
#[ReturnTypeWillChange]
public function jsonSerialize();
}

0 comments on commit 9d1eb91

Please sign in to comment.