From 28e30b132b9dd6ba9d12274e8668d6aefc437a71 Mon Sep 17 00:00:00 2001 From: Ryan Linnit Date: Wed, 2 Oct 2019 20:38:58 +0100 Subject: [PATCH] Fixing 'TypeError' in LdapUser::getSalt() Return value of Symfony\Component\Ldap\Security\LdapUser::getSalt() must be of the type string or null, none returned --- src/Symfony/Component/Ldap/Security/LdapUser.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Symfony/Component/Ldap/Security/LdapUser.php b/src/Symfony/Component/Ldap/Security/LdapUser.php index c8f3972832..f82d44ef88 100644 --- a/src/Symfony/Component/Ldap/Security/LdapUser.php +++ b/src/Symfony/Component/Ldap/Security/LdapUser.php @@ -67,6 +67,7 @@ class LdapUser implements UserInterface, EquatableInterface */ public function getSalt(): ?string { + return null; } /**