]> Raphaƫl G. Git Repositories - userbundle/blobdiff - Entity/User.php
Use RapsysUserBundle::getAlias to retrieve alias
[userbundle] / 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;
        }