From e2aebf9f6ec7b32f78213449b9984b1460585cea Mon Sep 17 00:00:00 2001 From: divyajose Date: Tue, 7 Nov 2023 14:33:56 +0530 Subject: [PATCH] Fix for failed composer analyze --- src/HttpClient/Plugin/RetryOauthAuthenticationPlugin.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/HttpClient/Plugin/RetryOauthAuthenticationPlugin.php b/src/HttpClient/Plugin/RetryOauthAuthenticationPlugin.php index f1a2f909..718f50a0 100644 --- a/src/HttpClient/Plugin/RetryOauthAuthenticationPlugin.php +++ b/src/HttpClient/Plugin/RetryOauthAuthenticationPlugin.php @@ -52,6 +52,7 @@ public function __construct(AbstractOauth $auth) * @see AbstractOauth::getAccessToken() * * @psalm-suppress InvalidThrow - Exception with interface can be thrown. + * @psalm-suppress InvalidArgument - $exception is not an invalid argument. */ public function handleRequest(RequestInterface $request, callable $next, callable $first): Promise {