]> granicus.if.org Git - php/commitdiff
ldap_exop_whoami() does not return TRUE
authorChristoph M. Becker <cmbecker69@gmx.de>
Tue, 8 Dec 2020 10:14:27 +0000 (11:14 +0100)
committerChristoph M. Becker <cmbecker69@gmx.de>
Tue, 8 Dec 2020 10:44:04 +0000 (11:44 +0100)
Closes GH-6496.

ext/ldap/ldap.stub.php
ext/ldap/ldap_arginfo.h

index eb790d483fa0c2687ca23f1b5014692e52b59f4b..987c1120b9faf1030c3d350f6372221b1f3dbbfb 100644 (file)
@@ -293,7 +293,7 @@ function ldap_exop_passwd($ldap, string $user = "", string $old_password = "", s
 
 #ifdef HAVE_LDAP_WHOAMI_S
 /** @param resource $ldap */
-function ldap_exop_whoami($ldap): string|bool {}
+function ldap_exop_whoami($ldap): string|false {}
 #endif
 
 #ifdef HAVE_LDAP_REFRESH_S
index c7aef8ae228ac1ee22afca6da2b127edfb629719..f235aa1f89977cae370edca7ee493277bcc1a223 100644 (file)
@@ -1,5 +1,5 @@
 /* This is a generated file, edit the .stub.php file instead.
- * Stub hash: 980ee25422e1b026259d63e7a61adea699751b86 */
+ * Stub hash: 836e18943977613fc0abf7443ad4d5afdbe65a0a */
 
 #if defined(HAVE_ORALDAP)
 ZEND_BEGIN_ARG_INFO_EX(arginfo_ldap_connect, 0, 0, 0)
@@ -313,7 +313,7 @@ ZEND_END_ARG_INFO()
 #endif
 
 #if defined(HAVE_LDAP_WHOAMI_S)
-ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_ldap_exop_whoami, 0, 1, MAY_BE_STRING|MAY_BE_BOOL)
+ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_ldap_exop_whoami, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
        ZEND_ARG_INFO(0, ldap)
 ZEND_END_ARG_INFO()
 #endif