mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-20 03:10:57 +00:00
Fix phpstan level 3!
This commit is contained in:
@@ -208,11 +208,13 @@ class RuleGroupRepository implements RuleGroupRepositoryInterface
|
||||
|
||||
public function find(int $ruleGroupId): ?RuleGroup
|
||||
{
|
||||
/** @var RuleGroup|null */
|
||||
return $this->user->ruleGroups()->find($ruleGroupId);
|
||||
}
|
||||
|
||||
public function findByTitle(string $title): ?RuleGroup
|
||||
{
|
||||
/** @var RuleGroup|null */
|
||||
return $this->user->ruleGroups()->where('title', $title)->first();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user