From 5d0f8e1106231bd2b0f4a814c3fa32e218e08208 Mon Sep 17 00:00:00 2001 From: Michel Gokan Khan Date: Mon, 28 Aug 2023 09:01:36 +0200 Subject: [PATCH] Update AbstractProvider.php - Fixing return type as Psalm complains about it It seems like this function is returning an instance of type AccessToken instead of AccessTokenInterface. The latest version of `psalm` is complaining about this issue. --- 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 293a54d6..00a9d30c 100644 --- a/src/Provider/AbstractProvider.php +++ b/src/Provider/AbstractProvider.php @@ -837,7 +837,7 @@ protected function prepareAccessTokenResponse(array $result) * * @param array $response * @param AbstractGrant $grant - * @return AccessTokenInterface + * @return AccessToken */ protected function createAccessToken(array $response, AbstractGrant $grant) {