From 7857f2fe7bcd231284049c27a14c5841d16d0172 Mon Sep 17 00:00:00 2001 From: Tobias Schultze Date: Mon, 24 Jun 2019 01:51:21 +0100 Subject: [PATCH] add missing return type in User class --- src/Symfony/Component/Security/Core/User/User.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Symfony/Component/Security/Core/User/User.php b/src/Symfony/Component/Security/Core/User/User.php index ef0ae2f303..68a01fcfc5 100644 --- a/src/Symfony/Component/Security/Core/User/User.php +++ b/src/Symfony/Component/Security/Core/User/User.php @@ -67,8 +67,9 @@ final class User implements UserInterface, EquatableInterface /** * {@inheritdoc} */ - public function getSalt() + public function getSalt(): ?string { + return null; } /**