From a2ae5b0cdf715dfd0f87f1f17401af84c182d4c8 Mon Sep 17 00:00:00 2001 From: Jordy Kiesebrink Date: Sun, 16 Apr 2023 20:04:19 +0200 Subject: [PATCH] Update AbstractProvider.php (#959) `\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 07f66b8c..293a54d6 100644 --- a/src/Provider/AbstractProvider.php +++ b/src/Provider/AbstractProvider.php @@ -662,7 +662,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 */