Skip to content

Conversation

@kevinmade
Copy link

No description provided.

Copy link
Contributor

@craigpotter craigpotter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good although would be better with a PR description

* @param array<string> $scopes
* @param callable(TRequest): (void)|null $requestModifier
*
* @return ($returnResponse is true ? \Saloon\Http\Response : \Saloon\Contracts\OAuthAuthenticator)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need for Fully Qualified Domain Name as it's already used bellow in the signature:

Suggested change
* @return ($returnResponse is true ? \Saloon\Http\Response : \Saloon\Contracts\OAuthAuthenticator)
* @return ($returnResponse is true ? Response : OAuthAuthenticator)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants