Skip to content

Commit 2286933

Browse files
authored
Merge pull request #65 from tds89/patch-2
$grant_type should be a string
2 parents 83e248f + 0a8851a commit 2286933

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OAuth2/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ public function getAuthenticationUrl($auth_endpoint, $redirect_uri, array $extra
203203
* getAccessToken
204204
*
205205
* @param string $token_endpoint Url of the token endpoint
206-
* @param int $grant_type Grant Type ('authorization_code', 'password', 'client_credentials', 'refresh_token', or a custom code (@see GrantType Classes)
206+
* @param string $grant_type Grant Type ('authorization_code', 'password', 'client_credentials', 'refresh_token', or a custom code (@see GrantType Classes)
207207
* @param array $parameters Array sent to the server (depend on which grant type you're using)
208208
* @param array $extra_headers Array of extra headers
209209
* @return array Array of parameters required by the grant_type (CF SPEC)

0 commit comments

Comments
 (0)