From fa0a7483cc21c05c33597291448dde0085917581 Mon Sep 17 00:00:00 2001 From: Jordy Kiesebrink Date: Thu, 7 Jul 2022 14:01:48 +0200 Subject: [PATCH] Update AbstractProvider.php `\League\OAuth2\Client\Provider\AbstractProvider::getAuthenticatedRequest` token is nullable --- src/Provider/AbstractProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Provider/AbstractProvider.php b/src/Provider/AbstractProvider.php index d1679998..2bbd7236 100644 --- a/src/Provider/AbstractProvider.php +++ b/src/Provider/AbstractProvider.php @@ -564,7 +564,7 @@ public function getRequest($method, $url, array $options = []) * * @param string $method * @param string $url - * @param AccessTokenInterface|string $token + * @param AccessTokenInterface|string|null $token * @param array $options Any of "headers", "body", and "protocolVersion". * @return RequestInterface */