Skip to content

Commit

Permalink
Fixes phpstan errors
Browse files Browse the repository at this point in the history
  • Loading branch information
skroczek committed Jun 5, 2020
1 parent 108b1ee commit 8dd31f5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/AuthorizationServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class AuthorizationServer implements EmitterAwareInterface
private $scopeRepository;

/**
* @var ClaimRepositoryInterface
* @var null|ClaimRepositoryInterface
*/
private $claimRepository;

Expand Down
2 changes: 1 addition & 1 deletion src/Grant/AbstractGrant.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ abstract class AbstractGrant implements GrantTypeInterface
protected $scopeRepository;

/**
* @var ClaimRepositoryInterface
* @var null|ClaimRepositoryInterface
*/
protected $claimRepository;

Expand Down
4 changes: 2 additions & 2 deletions src/Repositories/AccessTokenRepositoryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ interface AccessTokenRepositoryInterface extends RepositoryInterface
*
* @param ClientEntityInterface $clientEntity
* @param ScopeEntityInterface[] $scopes
* @param array $claims
* @param ClaimEntityInterface[] $userIdentifier
* @param string|null $userIdentifier
* @param ClaimEntityInterface[] $claims
*
* @return AccessTokenEntityInterface
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/Stubs/ClaimEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ public function jsonSerialize()
{
return ['name' => $this->name, 'value' => $this->value];
}
}
}

0 comments on commit 8dd31f5

Please sign in to comment.