chore(symfony) #57 : bump symfony to version 6.4 and fix deprecations
This commit is contained in:
@ -9,14 +9,12 @@ class User implements UserInterface
|
||||
private array $attributes = [];
|
||||
private string $login;
|
||||
private string $password;
|
||||
private bool $rememberMe;
|
||||
|
||||
public function __construct($login, $password, $attributes, $rememberMe = false)
|
||||
public function __construct($login, $password, $attributes)
|
||||
{
|
||||
$this->password = $password;
|
||||
$this->login = $login;
|
||||
$this->attributes = $attributes;
|
||||
$this->rememberMe = $rememberMe;
|
||||
}
|
||||
|
||||
public function getLogin(): ?string
|
||||
@ -34,11 +32,6 @@ class User implements UserInterface
|
||||
return $this->attributes;
|
||||
}
|
||||
|
||||
public function getRememberMe(): bool
|
||||
{
|
||||
return $this->rememberMe;
|
||||
}
|
||||
|
||||
public function getRoles(): array
|
||||
{
|
||||
return ['ROLE_USER'];
|
||||
|
Reference in New Issue
Block a user