diff --git a/ext/snmp/snmp.stub.php b/ext/snmp/snmp.stub.php index 9f4557e6f8f..87496c936fe 100644 --- a/ext/snmp/snmp.stub.php +++ b/ext/snmp/snmp.stub.php @@ -132,7 +132,7 @@ function snmp_set_enum_print(bool $enable): true {} function snmp_set_oid_output_format(int $format): true {} /** @alias snmp_set_oid_output_format */ -function snmp_set_oid_numeric_print(int $format): bool {} +function snmp_set_oid_numeric_print(int $format): true {} function snmp2_get(string $hostname, string $community, array|string $object_id, int $timeout = -1, int $retries = -1): mixed {} diff --git a/ext/snmp/snmp_arginfo.h b/ext/snmp/snmp_arginfo.h index a268cd6e5d5..f19b91f4ec5 100644 --- a/ext/snmp/snmp_arginfo.h +++ b/ext/snmp/snmp_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: ada00ea99d91d7e48e9965c5891227f97fd779a6 */ + * Stub hash: 449ae0af39f24f3e5696b88a30d2a440628c409b */ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_snmpget, 0, 3, IS_MIXED, 0) ZEND_ARG_TYPE_INFO(0, hostname, IS_STRING, 0) @@ -46,9 +46,7 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_snmp_set_oid_output_format, 0, 1 ZEND_ARG_TYPE_INFO(0, format, IS_LONG, 0) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_snmp_set_oid_numeric_print, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, format, IS_LONG, 0) -ZEND_END_ARG_INFO() +#define arginfo_snmp_set_oid_numeric_print arginfo_snmp_set_oid_output_format #define arginfo_snmp2_get arginfo_snmpget