Skip to content

Commit

Permalink
Merge pull request #246 from lucadegasperi/patch-3
Browse files Browse the repository at this point in the history
Update ResourceServer.php
  • Loading branch information
alexbilbie committed Nov 9, 2014
2 parents 7fbc563 + 001c15b commit d6e6b8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ResourceServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ public function setIdKey($key)

/**
* Gets the access token
* @return string
* @return \League\OAuth2\Server\Entity\AccessTokenEntity
*/
public function getAccessToken()
{
return $this->accessToken->getId();
return $this->accessToken;
}

/**
Expand Down

0 comments on commit d6e6b8b

Please sign in to comment.