mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-08 02:38:09 +00:00
Improve test coverage.
This commit is contained in:
@@ -343,4 +343,14 @@ class RuleGroupRepository implements RuleGroupRepositoryInterface
|
||||
|
||||
return $ruleGroup;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $title
|
||||
*
|
||||
* @return RuleGroup|null
|
||||
*/
|
||||
public function findByTitle(string $title): ?RuleGroup
|
||||
{
|
||||
return $this->user->ruleGroups()->where('title', $title)->first();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user