From: Raphaƫl Gertz Date: Wed, 11 Aug 2021 18:38:11 +0000 (+0200) Subject: Set civility as optional X-Git-Tag: 0.2.0~70 X-Git-Url: https://git.rapsys.eu/userbundle/commitdiff_plain/e0458c2d4d46e0c822a1f985388d7eb909019f6d?hp=b9e5d850a839448a7ffdc1ffcbbe5ae0e24d0428 Set civility as optional --- 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; }