We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d88642 commit 8039c76Copy full SHA for 8039c76
1 file changed
src/Traits/OAuth2/ClientCredentialsGrant.php
@@ -27,6 +27,8 @@ trait ClientCredentialsGrant
27
*
28
* @param array<string> $scopes
29
* @param callable(TRequest): (void)|null $requestModifier
30
+ *
31
+ * @return ($returnResponse is true ? \Saloon\Http\Response : \Saloon\Contracts\OAuthAuthenticator)
32
*/
33
public function getAccessToken(array $scopes = [], string $scopeSeparator = ' ', bool $returnResponse = false, ?callable $requestModifier = null): OAuthAuthenticator|Response
34
{
0 commit comments