Skip to content

Commit

Permalink
Fix bad type hintings.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan committed Dec 2, 2014
1 parent 6157bd7 commit 2df6446
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/relational/Storage/AccessTokenStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function get($token)
/**
* {@inheritdoc}
*/
public function getScopes(AbstractTokenEntity $token)
public function getScopes(AccessTokenEntity $token)
{
$result = Capsule::table('oauth_access_token_scopes')
->select(['oauth_scopes.id', 'oauth_scopes.description'])
Expand Down Expand Up @@ -73,7 +73,7 @@ public function create($token, $expireTime, $sessionId)
/**
* {@inheritdoc}
*/
public function associateScope(AbstractTokenEntity $token, ScopeEntity $scope)
public function associateScope(AccessTokenEntity $token, ScopeEntity $scope)
{
Capsule::table('oauth_access_token_scopes')
->insert([
Expand All @@ -85,7 +85,7 @@ public function associateScope(AbstractTokenEntity $token, ScopeEntity $scope)
/**
* {@inheritdoc}
*/
public function delete(AbstractTokenEntity $token)
public function delete(AccessTokenEntity $token)
{
Capsule::table('oauth_access_token_scopes')
->where('access_token', $token->getId())
Expand Down

0 comments on commit 2df6446

Please sign in to comment.