diff --git a/src/AuthServiceUser.php b/src/AuthServiceUser.php index 0e62866..f5c98f9 100644 --- a/src/AuthServiceUser.php +++ b/src/AuthServiceUser.php @@ -7,7 +7,7 @@ class AuthServiceUser implements UserInterface { - protected string $userId = ''; + protected string $id = ''; protected string $username = ''; protected array $roles = []; protected ?string $email = null; @@ -46,7 +46,7 @@ public function getThumbnail(): string public function getId(): string { - return $this->userId; + return $this->id; } public function getName(): string @@ -108,9 +108,9 @@ public function eraseCredentials(): void { } - public function setUserId(string $userId): static + public function setId(string $id): static { - $this->userId = $userId; + $this->id = $id; return $this; }