Issues (2963)

includes/polling/os/dell-powervault.inc.php (1 issue)

1
<?php
2
3
$serial = trim(snmp_get($device, '1.3.6.1.4.1.674.10893.2.31.500.1.3.0', '-OQv'));
0 ignored issues
show
It seems like snmp_get($device, '1.3.6....31.500.1.3.0', '-OQv') can also be of type false; however, parameter $string of trim() does only seem to accept string, maybe add an additional type check? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-type  annotation

3
$serial = trim(/** @scrutinizer ignore-type */ snmp_get($device, '1.3.6.1.4.1.674.10893.2.31.500.1.3.0', '-OQv'));
Loading history...
4
$hardware = trim(snmp_get($device, '1.3.6.1.4.1.674.10893.2.31.500.1.5.0', '-OQv'));
5