diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-04-29 17:11:25 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-04-30 09:24:01 +0200 |
commit | 85cea1960b1c15874a03d6dbc7408ca2dedf40ea (patch) | |
tree | 32a7302b820ea387b2521a2a97b7529a6334cbc9 /apps/user_ldap/lib/LDAP.php | |
parent | 0df60486931276b9a5600a18aca2195826af23b9 (diff) | |
download | nextcloud-server-85cea1960b1c15874a03d6dbc7408ca2dedf40ea.tar.gz nextcloud-server-85cea1960b1c15874a03d6dbc7408ca2dedf40ea.zip |
fix: Avoid useless reference usage in user_ldap
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/user_ldap/lib/LDAP.php')
-rw-r--r-- | apps/user_ldap/lib/LDAP.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/user_ldap/lib/LDAP.php b/apps/user_ldap/lib/LDAP.php index 01f4e16ab10..9322b6fbdaa 100644 --- a/apps/user_ldap/lib/LDAP.php +++ b/apps/user_ldap/lib/LDAP.php @@ -204,6 +204,7 @@ class LDAP implements ILDAPWrapper { $serverControls = []; } + /** @psalm-suppress UndefinedVariable $oldHandler is defined when the closure is called but psalm fails to get that */ $oldHandler = set_error_handler(function ($no, $message, $file, $line) use (&$oldHandler) { if (str_contains($message, 'Partial search results returned: Sizelimit exceeded')) { return true; |