Skip to content

Commit 8dd31f5

Browse files
committed
Fixes phpstan errors
1 parent 108b1ee commit 8dd31f5

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/AuthorizationServer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class AuthorizationServer implements EmitterAwareInterface
7171
private $scopeRepository;
7272

7373
/**
74-
* @var ClaimRepositoryInterface
74+
* @var null|ClaimRepositoryInterface
7575
*/
7676
private $claimRepository;
7777

src/Grant/AbstractGrant.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ abstract class AbstractGrant implements GrantTypeInterface
6565
protected $scopeRepository;
6666

6767
/**
68-
* @var ClaimRepositoryInterface
68+
* @var null|ClaimRepositoryInterface
6969
*/
7070
protected $claimRepository;
7171

src/Repositories/AccessTokenRepositoryInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ interface AccessTokenRepositoryInterface extends RepositoryInterface
2525
*
2626
* @param ClientEntityInterface $clientEntity
2727
* @param ScopeEntityInterface[] $scopes
28-
* @param array $claims
29-
* @param ClaimEntityInterface[] $userIdentifier
28+
* @param string|null $userIdentifier
29+
* @param ClaimEntityInterface[] $claims
3030
*
3131
* @return AccessTokenEntityInterface
3232
*/

tests/Stubs/ClaimEntity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ public function jsonSerialize()
3030
{
3131
return ['name' => $this->name, 'value' => $this->value];
3232
}
33-
}
33+
}

0 commit comments

Comments
 (0)