From e0458c2d4d46e0c822a1f985388d7eb909019f6d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Wed, 11 Aug 2021 20:38:11 +0200 Subject: [PATCH] Set civility as optional --- Entity/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Entity/User.php b/Entity/User.php index 5fc9217..8fb4105 100644 --- a/Entity/User.php +++ b/Entity/User.php @@ -271,7 +271,7 @@ class User implements UserInterface, \Serializable { /** * Get civility */ - public function getCivility(): Civility { + public function getCivility(): ?Civility { return $this->civility; } -- 2.41.0