diff --git a/ext/ldap/ldap.stub.php b/ext/ldap/ldap.stub.php index eb790d483fa0c..987c1120b9faf 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 c7aef8ae228ac..f235aa1f89977 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