From 2fc2bef0ae61d2cbf8ce78671e0d451d22df53cb Mon Sep 17 00:00:00 2001 From: David Coutadeur Date: Fri, 30 Aug 2024 11:00:10 +0200 Subject: [PATCH] fix ldap_first_entry signature (#914) --- src/Ltb/PhpLDAP.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Ltb/PhpLDAP.php b/src/Ltb/PhpLDAP.php index bdc9e27..c721e52 100644 --- a/src/Ltb/PhpLDAP.php +++ b/src/Ltb/PhpLDAP.php @@ -101,9 +101,9 @@ public static function ldap_mod_replace(...$args) return ldap_mod_replace(...$args); } - public static function ldap_first_entry($ldap, $entry, $attribute) + public static function ldap_first_entry(...$args) { - return ldap_first_entry($ldap, $entry, $attribute); + return ldap_first_entry(...$args); } }