interfaces: style

This commit is contained in:
Franco Fichtner 2021-11-09 13:15:30 +01:00
parent 6de63630ef
commit 9b7c35a630

View File

@ -38,7 +38,7 @@ function link_interface_to_group($int)
{
global $config;
$result = array();
$result = [];
if (isset($config['ifgroups']['ifgroupentry'])) {
foreach ($config['ifgroups']['ifgroupentry'] as $group) {
@ -55,7 +55,7 @@ function list_interfaces()
{
global $config;
$interfaces = [];
$interfaces = [];
// define config sections to fetch interfaces from.
$config_sections = array();