Apply fixes from StyleCI (#15698)

Co-authored-by: StyleCI Bot <bot@styleci.io>
This commit is contained in:
Jellyfrog
2024-01-05 05:39:12 +01:00
committed by GitHub
parent 58becd9ea2
commit 071ca9bc2a
615 changed files with 4562 additions and 4554 deletions

View File

@@ -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;
}