Skip to content

Commit

Permalink
Merge pull request #10 from calcinai/revert-token-interface
Browse files Browse the repository at this point in the history
Revert token interface, fixes #9
  • Loading branch information
calcinai authored Oct 5, 2020
2 parents 576e704 + b77822a commit e5feb87
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 e5feb87

Please sign in to comment.