diff --git a/Event/ScopeResolveEvent.php b/Event/ScopeResolveEvent.php index 6f45c0a6..0cb42d62 100644 --- a/Event/ScopeResolveEvent.php +++ b/Event/ScopeResolveEvent.php @@ -27,11 +27,11 @@ final class ScopeResolveEvent extends Event private $client; /** - * @var string|null + * @var mixed|null */ private $userIdentifier; - public function __construct(array $scopes, Grant $grant, Client $client, ?string $userIdentifier) + public function __construct(array $scopes, Grant $grant, Client $client, $userIdentifier) { $this->scopes = $scopes; $this->grant = $grant; @@ -64,7 +64,7 @@ public function getClient(): Client return $this->client; } - public function getUserIdentifier(): ?string + public function getUserIdentifier() { return $this->userIdentifier; }