From: MCMic Date: Mon, 28 Sep 2020 12:19:43 +0000 (+0200) Subject: Improve parameter naming in ldap_connect X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=27fe37e39497c81cd6ef10150b2111ddf23f75f2;p=php Improve parameter naming in ldap_connect Co-authored-by: Nikita Popov --- diff --git a/ext/ldap/ldap.stub.php b/ext/ldap/ldap.stub.php index dd5bcf3f28..941ec5ba58 100644 --- a/ext/ldap/ldap.stub.php +++ b/ext/ldap/ldap.stub.php @@ -4,7 +4,7 @@ #ifdef HAVE_ORALDAP /** @return resource|false */ -function ldap_connect(?string $uri = null, int $port = 389, string $wallet = UNKNOWN, string $wallet_passwd = UNKNOWN, int $authmode = GSLC_SSL_NO_AUTH) {} +function ldap_connect(?string $uri = null, int $port = 389, string $wallet = UNKNOWN, string $password = UNKNOWN, int $auth_mode = GSLC_SSL_NO_AUTH) {} #else /** @return resource|false */ function ldap_connect(?string $uri = null, int $port = 389) {}