From: jubianchi Date: Fri, 11 Sep 2015 16:13:23 +0000 (+0200) Subject: Remove wrong argument $session from SNMP::setSecurity() X-Git-Tag: php-7.1.0alpha1~942^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e326fa78552eef34e6e0ef362e3de134be4ff163;p=php Remove wrong argument $session from SNMP::setSecurity() --- diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c index 76ba88089f..05e2ba24fd 100644 --- a/ext/snmp/snmp.c +++ b/ext/snmp/snmp.c @@ -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) diff --git a/ext/snmp/tests/reflection.phpt b/ext/snmp/tests/reflection.phpt index 91e9876801..8e2b92f2e8 100644 --- a/ext/snmp/tests/reflection.phpt +++ b/ext/snmp/tests/reflection.phpt @@ -41,15 +41,14 @@ Method [ public method close ] { Method [ public method setSecurity ] { - - Parameters [8] { - Parameter #0 [ $session ] - Parameter #1 [ $sec_level ] - Parameter #2 [ $auth_protocol ] - Parameter #3 [ $auth_passphrase ] - Parameter #4 [ $priv_protocol ] - Parameter #5 [ $priv_passphrase ] - Parameter #6 [ $contextName ] - Parameter #7 [ $contextEngineID ] + - Parameters [7] { + Parameter #0 [ $sec_level ] + Parameter #1 [ $auth_protocol ] + Parameter #2 [ $auth_passphrase ] + Parameter #3 [ $priv_protocol ] + Parameter #4 [ $priv_passphrase ] + Parameter #5 [ $contextName ] + Parameter #6 [ $contextEngineID ] } }