Fix PHP code style: use consistent array syntax and proper comment style

Co-authored-by: connortechnology <925519+connortechnology@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-01-06 22:42:24 +00:00
parent c81fa1e662
commit a3d0d8d19b

View File

@@ -274,14 +274,14 @@ echo $navbar ?>
$filter = addFilterTerm(
$eventCounts[$i]['filter'],
count($eventCounts[$i]['filter']['Query']['terms']),
count($displayMonitorIds) != $colAllAvailableMonitors #Add monitors to the filter only if the filter limit is set
count($displayMonitorIds) != $colAllAvailableMonitors // Add monitors to the filter only if the filter limit is set
? array(
'cnj'=>'and',
'attr'=>'Monitor',
'op'=>'IN',
'val'=>implode(',', $displayMonitorIds)
)
: ['cnj'=>'and', 'attr'=>'Monitor']
: array('cnj'=>'and', 'attr'=>'Monitor')
);
parseFilter($filter);
echo '<th data-sortable="true" data-field="'.$i.'Events" class="colEvents"><a '