From 2fdf50127131531c32cc25078bb88c37563e4226 Mon Sep 17 00:00:00 2001 From: Shirish Maharjan <49825402+shirish71@users.noreply.github.com> Date: Tue, 27 Sep 2022 14:53:25 +0545 Subject: [PATCH] Update OAuth2.php --- src/OAuth2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OAuth2.php b/src/OAuth2.php index 5d066bb..cbdc7c0 100644 --- a/src/OAuth2.php +++ b/src/OAuth2.php @@ -130,7 +130,7 @@ public function getTenants(AccessTokenInterface $accessToken) * @param string|null $grantType * @return AccessTokenInterface */ - public function refreshAccessToken(AccessTokenInterface $accessToken, string? $grantType = null) + public function refreshAccessToken(AccessTokenInterface $accessToken, ?string $grantType = null) { $body = [ 'refresh_token' => $accessToken->getRefreshToken()