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()