This commit is contained in:
2024-11-26 21:37:44 +01:00
parent 4b7fd19685
commit c1aa1026a7
3 changed files with 11 additions and 8 deletions

View File

@ -110,7 +110,7 @@ class User implements UserInterface, PasswordAuthenticatedUserInterface
return $this->password;
}
public function setPassword(string $password): static
public function setPassword(?string $password): static
{
$this->password = $password;