fix: rendre le champ "E-mail de secours" nullable dans l'entité User

This commit is contained in:
2026-04-12 23:27:28 +02:00
parent d757e86ed2
commit 1b376965cd
+1 -1
View File
@@ -191,7 +191,7 @@ class User implements UserInterface, PasswordAuthenticatedUserInterface
return $this->alternateEmail;
}
public function setAlternateEmail(string $alternateEmail): static
public function setAlternateEmail(?string $alternateEmail): static
{
$this->alternateEmail = $alternateEmail;