mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-17 07:08:19 +00:00
Code cleanup.
This commit is contained in:
@@ -33,8 +33,6 @@ interface RuleEngineInterface
|
||||
{
|
||||
/**
|
||||
* Add operators added to each search by the rule engine.
|
||||
*
|
||||
* @param array $operator
|
||||
*/
|
||||
public function addOperator(array $operator): void;
|
||||
|
||||
@@ -50,34 +48,20 @@ interface RuleEngineInterface
|
||||
|
||||
/**
|
||||
* Return the number of changed transactions from the previous "fire" action.
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function getResults(): int;
|
||||
|
||||
/**
|
||||
* @param bool $refreshTriggers
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setRefreshTriggers(bool $refreshTriggers): void;
|
||||
|
||||
/**
|
||||
* Add entire rule groups for the engine to execute.
|
||||
*
|
||||
* @param Collection $ruleGroups
|
||||
*/
|
||||
public function setRuleGroups(Collection $ruleGroups): void;
|
||||
|
||||
/**
|
||||
* Add rules for the engine to execute.
|
||||
*
|
||||
* @param Collection $rules
|
||||
*/
|
||||
public function setRules(Collection $rules): void;
|
||||
|
||||
/**
|
||||
* @param User $user
|
||||
*/
|
||||
public function setUser(User $user): void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user