diff --git a/LibreNMS/Alerting/QueryBuilderFluentParser.php b/LibreNMS/Alerting/QueryBuilderFluentParser.php index 04e31ed280..0d564cb197 100644 --- a/LibreNMS/Alerting/QueryBuilderFluentParser.php +++ b/LibreNMS/Alerting/QueryBuilderFluentParser.php @@ -55,7 +55,7 @@ public function toQuery(): ?Builder * @param array{condition: string, rules: array} $rule * @param string|null $parent_condition AND or OR (for root, this should be null) */ - protected function parseGroupToQuery(Builder $query, array $rule, string $parent_condition = null): Builder + protected function parseGroupToQuery(Builder $query, array $rule, ?string $parent_condition = null): Builder { return $query->where(function ($query) use ($rule): void { foreach ($rule['rules'] as $group_rule) {