Skip to content

Commit 70f12ee

Browse files
authored
Fix typehint on with OAuthTokens
This method accepts a string, but the parameter actually should be an `OAuthTokens` object (also see what `withRefreshToken` does, as that creates the `OAuthTokens` object first)
1 parent c9f305e commit 70f12ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Auth/OAuthAuthorization.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function withRefreshToken($refreshToken) {
8181
/**
8282
* Includes the OAuth tokens.
8383
*
84-
* @param string $oauthTokens
84+
* @param OAuthTokens $oauthTokens
8585
* @return OAuthAuthorization this builder
8686
*/
8787
public function withOAuthTokens($oauthTokens) {

0 commit comments

Comments
 (0)