summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2021-01-24 17:58:26 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2021-01-24 17:58:26 +0100
commita86443f5a35b9bba087fd78500290f5172ce38d5 (patch)
treebeddda08f96989460208d24e0d3b5513e3d16617
parentbff7761653ab44c848e71f9d9727c7801588a50c (diff)
downloadphp-git-a86443f5a35b9bba087fd78500290f5172ce38d5.tar.gz
Add missing stub for SNMPException
-rw-r--r--ext/snmp/snmp.stub.php4
-rw-r--r--ext/snmp/snmp_arginfo.h7
2 files changed, 10 insertions, 1 deletions
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
+};