1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Align the return type of snmp_set_oid_numeric_print() to its aliased funtion

This commit is contained in:
Máté Kocsis
2023-08-14 12:42:55 +02:00
parent 7fcfaae006
commit 67ab2b7d87
2 changed files with 3 additions and 5 deletions

View File

@@ -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 {}

View File

@@ -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