diff --git a/src/Traits/OAuth2/ClientCredentialsGrant.php b/src/Traits/OAuth2/ClientCredentialsGrant.php index 2e6a0f97..213e999c 100644 --- a/src/Traits/OAuth2/ClientCredentialsGrant.php +++ b/src/Traits/OAuth2/ClientCredentialsGrant.php @@ -27,6 +27,8 @@ trait ClientCredentialsGrant * * @param array $scopes * @param callable(TRequest): (void)|null $requestModifier + * + * @return ($returnResponse is true ? \Saloon\Http\Response : \Saloon\Contracts\OAuthAuthenticator) */ public function getAccessToken(array $scopes = [], string $scopeSeparator = ' ', bool $returnResponse = false, ?callable $requestModifier = null): OAuthAuthenticator|Response {