X-Git-Url: https://git.rapsys.eu/userbundle/blobdiff_plain/b9e5d850a839448a7ffdc1ffcbbe5ae0e24d0428..e0458c2d4d46e0c822a1f985388d7eb909019f6d:/Entity/User.php?ds=sidebyside 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; }