Skip to content

Commit adcf294

Browse files
authored
Update SNMP signatures
1 parent 9a0bfd2 commit adcf294

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

resources/functionMap.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10547,13 +10547,13 @@
1054710547
'snmp3_walk' => ['array|false', 'host'=>'string', 'sec_name'=>'string', 'sec_level'=>'string', 'auth_protocol'=>'string', 'auth_passphrase'=>'string', 'priv_protocol'=>'string', 'priv_passphrase'=>'string', 'object_id'=>'string', 'timeout='=>'int', 'retries='=>'int'],
1054810548
'SNMP::__construct' => ['void', 'version'=>'int', 'hostname'=>'string', 'community'=>'string', 'timeout='=>'int', 'retries='=>'int'],
1054910549
'SNMP::close' => ['bool'],
10550-
'SNMP::get' => ['array|string|false', 'object_id'=>'string|array', 'preserve_keys='=>'bool'],
10550+
'SNMP::get' => ['($objectId is array ? array<string,string> : string)|false', 'objectId'=>'string|string[]', 'preserveKeys='=>'bool'],
1055110551
'SNMP::getErrno' => ['int'],
1055210552
'SNMP::getError' => ['string'],
10553-
'SNMP::getnext' => ['string|array|false', 'object_id'=>'string|array'],
10554-
'SNMP::set' => ['bool', 'object_id'=>'string|array', 'type'=>'string|array', 'value'=>'mixed'],
10555-
'SNMP::setSecurity' => ['bool', 'sec_level'=>'string', 'auth_protocol='=>'string', 'auth_passphrase='=>'string', 'priv_protocol='=>'string', 'priv_passphrase='=>'string', 'contextname='=>'string', 'contextengineid='=>'string'],
10556-
'SNMP::walk' => ['array|false', 'object_id'=>'string', 'suffix_as_key='=>'bool', 'non_repeaters='=>'int', 'max_repetitions='=>'int'],
10553+
'SNMP::getnext' => ['($objectId is array ? array<string,string> : string)|false', 'objectId'=>'string|string[]'],
10554+
'SNMP::set' => ['bool', 'objectId'=>'string|string[]', 'type'=>'($objectId is array ? string[]|string : string)', 'value'=>'($objectId is array ? mixed[] : string)'],
10555+
'SNMP::setSecurity' => ['bool', 'securityLevel'=>'string', 'authProtocol='=>'string', 'authPassphrase='=>'string', 'privacyProtocol='=>'string', 'privacyPassphrase='=>'string', 'contextName='=>'string', 'contextEngineId='=>'string'],
10556+
'SNMP::walk' => ['array|false', 'objectId'=>'string', 'suffixAsKey='=>'bool', 'maxRepetitions='=>'int', 'nonRepeaters='=>'int'],
1055710557
'snmp_get_quick_print' => ['bool'],
1055810558
'snmp_get_valueretrieval' => ['int'],
1055910559
'snmp_read_mib' => ['bool', 'filename'=>'string'],

0 commit comments

Comments
 (0)