summaryrefslogtreecommitdiff
path: root/ext/ldap
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-12-08 11:14:27 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2020-12-08 11:44:04 +0100
commitc3734f9ae182640ba6cc2fbd5724166b1b3d1275 (patch)
tree780b0b38fcbbabcb4fa1d0cf695a1b50d814f385 /ext/ldap
parentbd72e4aa44c8989180d846714d3e570ac9970fb1 (diff)
downloadphp-git-c3734f9ae182640ba6cc2fbd5724166b1b3d1275.tar.gz
ldap_exop_whoami() does not return TRUE
Closes GH-6496.
Diffstat (limited to 'ext/ldap')
-rw-r--r--ext/ldap/ldap.stub.php2
-rw-r--r--ext/ldap/ldap_arginfo.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/ldap/ldap.stub.php b/ext/ldap/ldap.stub.php
index eb790d483f..987c1120b9 100644
--- a/ext/ldap/ldap.stub.php
+++ b/ext/ldap/ldap.stub.php
@@ -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
diff --git a/ext/ldap/ldap_arginfo.h b/ext/ldap/ldap_arginfo.h
index c7aef8ae22..f235aa1f89 100644
--- a/ext/ldap/ldap_arginfo.h
+++ b/ext/ldap/ldap_arginfo.h
@@ -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