Skip to content

Commit a86443f

Browse files
committed
Add missing stub for SNMPException
1 parent bff7761 commit a86443f

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

ext/snmp/snmp.stub.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,3 +104,7 @@ public function getErrno() {}
104104
/** @return string */
105105
public function getError() {}
106106
}
107+
108+
class SNMPException extends RuntimeException
109+
{
110+
}

ext/snmp/snmp_arginfo.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: 68d61381ba27923bb68d6d9c6e5d5e8ff296cc90 */
2+
* Stub hash: 32433e63feea7cc46737000498e248da713ab5a3 */
33

44
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_snmpget, 0, 3, stdClass, MAY_BE_ARRAY|MAY_BE_STRING|MAY_BE_BOOL)
55
ZEND_ARG_TYPE_INFO(0, hostname, IS_STRING, 0)
@@ -236,3 +236,8 @@ static const zend_function_entry class_SNMP_methods[] = {
236236
ZEND_ME(SNMP, getError, arginfo_class_SNMP_getError, ZEND_ACC_PUBLIC)
237237
ZEND_FE_END
238238
};
239+
240+
241+
static const zend_function_entry class_SNMPException_methods[] = {
242+
ZEND_FE_END
243+
};

0 commit comments

Comments
 (0)