mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Apply fixes from StyleCI (#15698)
Co-authored-by: StyleCI Bot <bot@styleci.io>
This commit is contained in:
@@ -511,7 +511,7 @@ function get_ports_mapped($device_id, $with_statistics = false)
|
||||
$ports = [];
|
||||
$maps = [
|
||||
'ifIndex' => [],
|
||||
'ifName' => [],
|
||||
'ifName' => [],
|
||||
'ifDescr' => [],
|
||||
];
|
||||
|
||||
@@ -537,7 +537,7 @@ function get_ports_mapped($device_id, $with_statistics = false)
|
||||
|
||||
return [
|
||||
'ports' => $ports,
|
||||
'maps' => $maps,
|
||||
'maps' => $maps,
|
||||
];
|
||||
}
|
||||
|
||||
@@ -648,6 +648,7 @@ function ResolveGlues($tables, $target, $x = 0, $hist = [], $last = [])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//You should never get here.
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user