mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
Fix phpcs error
This commit is contained in:
@@ -115,7 +115,7 @@ class SearchRuleEngine implements RuleEngineInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
// if needs no context, value is different:
|
// if needs no context, value is different:
|
||||||
$needsContext = (bool) config(sprintf('search.operators.%s.needs_context', $ruleTrigger->trigger_type)) ?? true;
|
$needsContext = (bool) (config(sprintf('search.operators.%s.needs_context', $ruleTrigger->trigger_type)) ?? true);
|
||||||
if (false === $needsContext) {
|
if (false === $needsContext) {
|
||||||
app('log')->debug(sprintf('SearchRuleEngine:: add a rule trigger (no context): %s:true', $ruleTrigger->trigger_type));
|
app('log')->debug(sprintf('SearchRuleEngine:: add a rule trigger (no context): %s:true', $ruleTrigger->trigger_type));
|
||||||
$searchArray[$ruleTrigger->trigger_type][] = 'true';
|
$searchArray[$ruleTrigger->trigger_type][] = 'true';
|
||||||
|
Reference in New Issue
Block a user