From: Christoph M. Becker Date: Sun, 24 Jan 2021 16:58:26 +0000 (+0100) Subject: Add missing stub for SNMPException X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a86443f5a35b9bba087fd78500290f5172ce38d5;p=php Add missing stub for SNMPException --- diff --git a/ext/snmp/snmp.stub.php b/ext/snmp/snmp.stub.php index 25ad96d033..e6e0cb22eb 100644 --- a/ext/snmp/snmp.stub.php +++ b/ext/snmp/snmp.stub.php @@ -104,3 +104,7 @@ class SNMP /** @return string */ public function getError() {} } + +class SNMPException extends RuntimeException +{ +} diff --git a/ext/snmp/snmp_arginfo.h b/ext/snmp/snmp_arginfo.h index 7a91113c50..52e7e7040d 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: 68d61381ba27923bb68d6d9c6e5d5e8ff296cc90 */ + * Stub hash: 32433e63feea7cc46737000498e248da713ab5a3 */ ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_snmpget, 0, 3, stdClass, MAY_BE_ARRAY|MAY_BE_STRING|MAY_BE_BOOL) ZEND_ARG_TYPE_INFO(0, hostname, IS_STRING, 0) @@ -236,3 +236,8 @@ static const zend_function_entry class_SNMP_methods[] = { ZEND_ME(SNMP, getError, arginfo_class_SNMP_getError, ZEND_ACC_PUBLIC) ZEND_FE_END }; + + +static const zend_function_entry class_SNMPException_methods[] = { + ZEND_FE_END +};