Apply fixes from StyleCI (#14899)

Co-authored-by: StyleCI Bot <bot@styleci.io>
This commit is contained in:
Jellyfrog
2023-03-13 22:32:22 +01:00
committed by GitHub
parent 0e322ae5d5
commit 68e0b3df28
220 changed files with 2050 additions and 2035 deletions

View File

@@ -347,11 +347,11 @@ class NetSnmpQuery implements SnmpQueryInterface
case 'authpriv':
array_push($cmd, '-x', $this->device->cryptoalgo);
array_push($cmd, '-X', $this->device->cryptopass);
// fallthrough
// fallthrough
case 'authnopriv':
array_push($cmd, '-a', $this->device->authalgo);
array_push($cmd, '-A', $this->device->authpass);
// fallthrough
// fallthrough
case 'noauthnopriv':
array_push($cmd, '-u', $this->device->authname ?: 'root');
break;