Reformat various code.

This commit is contained in:
James Cole
2022-03-29 15:10:05 +02:00
parent 60786461a9
commit 123693096c
134 changed files with 336 additions and 141 deletions

View File

@@ -482,10 +482,10 @@ class SearchRuleEngine implements RuleEngineInterface
/**
* @param RuleGroup $group
*
* @return bool
* @return void
* @throws FireflyException
*/
private function fireGroup(RuleGroup $group): bool
private function fireGroup(RuleGroup $group): void
{
$all = false;
Log::debug(sprintf('Going to fire group #%d with %d rule(s)', $group->id, $group->rules->count()));
@@ -499,11 +499,10 @@ class SearchRuleEngine implements RuleEngineInterface
if (true === $result && true === $rule->stop_processing) {
Log::debug(sprintf('The rule was triggered and rule->stop_processing = true, so group #%d will stop processing further rules.', $group->id));
return true;
return;
}
}
return $all;
}
/**