mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Run phpcs locally to make sure phpstan stays fixed. [skip ci]
This commit is contained in:
@@ -208,13 +208,13 @@ class RuleGroupRepository implements RuleGroupRepositoryInterface
|
||||
|
||||
public function find(int $ruleGroupId): ?RuleGroup
|
||||
{
|
||||
/** @var RuleGroup|null */
|
||||
/** @var null|RuleGroup */
|
||||
return $this->user->ruleGroups()->find($ruleGroupId);
|
||||
}
|
||||
|
||||
public function findByTitle(string $title): ?RuleGroup
|
||||
{
|
||||
/** @var RuleGroup|null */
|
||||
/** @var null|RuleGroup */
|
||||
return $this->user->ruleGroups()->where('title', $title)->first();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user