]> Raphaƫl G. Git Repositories - userbundle/blobdiff - Entity/User.php
Revert change as getUsername is abstract and thus required
[userbundle] / Entity / User.php
index e1693cc06a2934ba21db9cc50745a83b143d0cd2..c2c1642ef8b95e0446842d24d9fa4ea526b6cd9c 100644 (file)
@@ -398,6 +398,13 @@ class User implements UserInterface, \Serializable {
                return null;
        }
 
+       /**
+        * {@inheritdoc}
+        */
+       public function getUsername(): string {
+               return $this->mail;
+       }
+
        /**
         * {@inheritdoc}
         */