mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fix the transaction factory and associated tests.
This commit is contained in:
@@ -62,6 +62,11 @@ class RuleGroupTransformer extends TransformerAbstract
|
||||
$this->parameters = $parameters;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param RuleGroup $ruleGroup
|
||||
*
|
||||
* @return FractalCollection
|
||||
*/
|
||||
public function includeRules(RuleGroup $ruleGroup): FractalCollection
|
||||
{
|
||||
return $this->collection($ruleGroup->rules, new RuleTransformer($this->parameters), 'rules');
|
||||
|
Reference in New Issue
Block a user