Skip to content

Commit

Permalink
Revert token interface, fixes #9
Browse files Browse the repository at this point in the history
  • Loading branch information
calcinai committed Oct 5, 2020
1 parent 576e704 commit b77822a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Provider/Xero.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ public function getResourceOwnerDetailsUrl(AccessToken $token)
}

/**
* @param AccessTokenInterface $token
* @param AccessToken $token
* @return XeroResourceOwner
*/
public function getResourceOwner(AccessTokenInterface $token)
public function getResourceOwner(AccessToken $token)
{
return XeroResourceOwner::fromJWT($token->getValues()['id_token']);
}
Expand Down

0 comments on commit b77822a

Please sign in to comment.