Fix Declaration of Intuit\Providers\Socialite\IntuitProvider::refreshtoken()

This commit is contained in:
Deon George 2024-07-13 19:32:32 +10:00
parent c35a439566
commit b87550fae7

View File

@ -104,7 +104,7 @@ class IntuitProvider extends AbstractProvider implements ProviderInterface
];
}
public function refreshtoken(ProviderToken $to): bool
public function refreshtoken($to)
{
$response = $this->getHttpClient()->post($this->getTokenUrl(), [
RequestOptions::HEADERS => $this->getAuthorisationHeader($to->provider),