]> Raphaël G. Git Repositories - userbundle/commitdiff
Set civility as optional
authorRaphaël Gertz <git@rapsys.eu>
Wed, 11 Aug 2021 18:38:11 +0000 (20:38 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Wed, 11 Aug 2021 18:38:11 +0000 (20:38 +0200)
Entity/User.php

index 5fc921719ad0294a4837f0e536e59c5b965a79c7..8fb41053a352ab4de738eb8351e2aec9d23dde4b 100644 (file)
@@ -271,7 +271,7 @@ class User implements UserInterface, \Serializable {
        /**
         * Get civility
         */
-       public function getCivility(): Civility {
+       public function getCivility(): ?Civility {
                return $this->civility;
        }