]> granicus.if.org Git - php/commitdiff
Remove wrong argument $session from SNMP::setSecurity()
authorjubianchi <contact@jubianchi.fr>
Fri, 11 Sep 2015 16:13:23 +0000 (18:13 +0200)
committerStanislav Malyshev <stas@php.net>
Sun, 18 Oct 2015 21:48:39 +0000 (14:48 -0700)
ext/snmp/snmp.c
ext/snmp/tests/reflection.phpt

index 1d43cd9e205ee292e41185e6cba43c5bd1206820..3206a0692bb9456db2df1dc5b5733dc52c3ac2fe 100644 (file)
@@ -338,7 +338,6 @@ ZEND_BEGIN_ARG_INFO(arginfo_snmp_void, 0)
 ZEND_END_ARG_INFO()
 
 ZEND_BEGIN_ARG_INFO_EX(arginfo_snmp_setSecurity, 0, 0, 8)
-       ZEND_ARG_INFO(0, session)
        ZEND_ARG_INFO(0, sec_level)
        ZEND_ARG_INFO(0, auth_protocol)
        ZEND_ARG_INFO(0, auth_passphrase)
index 91e9876801e2b79cbcdbc0b272f2d51d3272e0cc..8e2b92f2e8c4666c2502938f235481dd8d65693a 100644 (file)
@@ -41,15 +41,14 @@ Method [ <internal:snmp> public method close ] {
 
 Method [ <internal:snmp> public method setSecurity ] {
 
-  - Parameters [8] {
-    Parameter #0 [ <required> $session ]
-    Parameter #1 [ <required> $sec_level ]
-    Parameter #2 [ <required> $auth_protocol ]
-    Parameter #3 [ <required> $auth_passphrase ]
-    Parameter #4 [ <required> $priv_protocol ]
-    Parameter #5 [ <required> $priv_passphrase ]
-    Parameter #6 [ <required> $contextName ]
-    Parameter #7 [ <required> $contextEngineID ]
+  - Parameters [7] {
+    Parameter #0 [ <required> $sec_level ]
+    Parameter #1 [ <required> $auth_protocol ]
+    Parameter #2 [ <required> $auth_passphrase ]
+    Parameter #3 [ <required> $priv_protocol ]
+    Parameter #4 [ <required> $priv_passphrase ]
+    Parameter #5 [ <required> $contextName ]
+    Parameter #6 [ <required> $contextEngineID ]
   }
 }