Apply fixes from StyleCI (#12117)

* Apply fixes from StyleCI

* Disable style check
This commit is contained in:
Jellyfrog
2020-09-21 14:54:51 +02:00
committed by GitHub
parent 8ec9183df5
commit 77c531527c
752 changed files with 6238 additions and 5833 deletions

View File

@@ -12,7 +12,7 @@ if (isset($options['r']) && isset($options['h'])) {
set_debug(isset($options['d']));
$runAlerts = new RunAlerts();
$rule_id = (int)$options['r'];
$rule_id = (int) $options['r'];
$device_id = ctype_digit($options['h']) ? $options['h'] : getidbyname($options['h']);
$where = "alerts.device_id = $device_id && alerts.rule_id = $rule_id";
$alerts = $runAlerts->loadAlerts($where);