mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix bad snmp context option (#13497)
* Fix bad snmp context option Just port queries to SnmpQuery and remove bad code to prevent new usages * Allow unordered * add stub on Mock
This commit is contained in:
@@ -106,6 +106,11 @@ class SnmpQueryMock implements SnmpQueryInterface
|
||||
->translate($oid, $mib);
|
||||
}
|
||||
|
||||
public function allowUnordered(): SnmpQueryInterface
|
||||
{
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function numeric(): SnmpQueryInterface
|
||||
{
|
||||
$this->numeric = true;
|
||||
|
Reference in New Issue
Block a user