From dc6abe457620de69b2322f0ae39f06083611ec01 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Wed, 8 Sep 2021 18:39:06 +0200 Subject: [PATCH 1/1] Revert change as getUsername is abstract and thus required --- Entity/User.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Entity/User.php b/Entity/User.php index e1693cc..c2c1642 100644 --- a/Entity/User.php +++ b/Entity/User.php @@ -398,6 +398,13 @@ class User implements UserInterface, \Serializable { return null; } + /** + * {@inheritdoc} + */ + public function getUsername(): string { + return $this->mail; + } + /** * {@inheritdoc} */ -- 2.41.1