Auto commit for release 'develop' on 2024-02-22

This commit is contained in:
github-actions
2024-02-22 01:29:01 +01:00
parent 356b217692
commit 89ce2838d5
147 changed files with 636 additions and 635 deletions

View File

@@ -142,7 +142,7 @@ class RuleRepository implements RuleRepositoryInterface
continue;
}
$triggerType = $trigger->trigger_type;
if(str_starts_with($trigger->trigger_type, '-')) {
if (str_starts_with($trigger->trigger_type, '-')) {
$triggerType = substr($trigger->trigger_type, 1);
}
$needsContext = config(sprintf('search.operators.%s.needs_context', $triggerType)) ?? true;
@@ -484,7 +484,7 @@ class RuleRepository implements RuleRepositoryInterface
'no_external_id',
'any_external_id',
];
if(in_array($type, $needTrue, true)) {
if (in_array($type, $needTrue, true)) {
$value = '';
}