Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update src/BaseOAuth.php
Co-authored-by: Alexander Makarov <[email protected]>
  • Loading branch information
kalmerkaurson and samdark authored Sep 1, 2025
commit f1d6cc9e182e3f4d7feadcfe2f0f6649152d4d76
2 changes: 1 addition & 1 deletion src/BaseOAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ protected function restoreAccessToken()
$token = $this->getState('token');
if (is_object($token)) {
/** @var OAuthToken $token */
if ($token->getIsExpired() && $this->autoRefreshAccessToken && $token->getHasRefreshToken()) {
if ($token->getIsExpired() && $this->autoRefreshAccessToken && $token->hasRefreshToken()) {
$token = $this->refreshAccessToken($token);
}
}
Expand Down
Loading