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 01e5046 commit 3dd9347Copy full SHA for 3dd9347
Client/OAuthHttpClient.php
@@ -71,11 +71,11 @@ public function getToken(): OAuthTokenInterface
71
throw OAuthAuthenticationException::createFromTokenResponse($this->settings, $response);
72
}
73
74
- $response = json_decode($content, true);
+ $data = json_decode($content, true);
75
if (JSON_ERROR_NONE !== json_last_error()) {
76
77
78
- $this->token = OAuthToken::createFromResponse($response);
+ $this->token = OAuthToken::createFromResponse($data);
79
80
81
return $this->token;
0 commit comments