diff --git a/src/Token/AccessTokenInterface.php b/src/Token/AccessTokenInterface.php index c5f13350..5fd219ff 100644 --- a/src/Token/AccessTokenInterface.php +++ b/src/Token/AccessTokenInterface.php @@ -15,6 +15,7 @@ namespace League\OAuth2\Client\Token; use JsonSerializable; +use ReturnTypeWillChange; use RuntimeException; interface AccessTokenInterface extends JsonSerializable @@ -68,5 +69,6 @@ public function __toString(); * * @return array */ + #[ReturnTypeWillChange] public function jsonSerialize(); }