Skip to content

Commit

Permalink
Fix Okta Provider@getRefreshTokenResponse() signature (#1128)
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmastech authored Dec 12, 2023
1 parent 6a4b6ff commit 5e47cd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ public function getClientAccessTokenResponse($scopes = null)

/**
* @param string $refreshToken
* @return array
* @return array|null
*/
public function getRefreshTokenResponse(string $refreshToken)
public function getRefreshTokenResponse($refreshToken)
{
$response = $this->getHttpClient()->post($this->getTokenUrl(), [
RequestOptions::AUTH => [$this->clientId, $this->clientSecret],
Expand Down

0 comments on commit 5e47cd7

Please sign in to comment.