mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-17 07:08:19 +00:00
Run phpcs locally to make sure phpstan stays fixed. [skip ci]
This commit is contained in:
@@ -33,7 +33,7 @@ trait CreatesObjectGroups
|
||||
{
|
||||
protected function findObjectGroupById(int $groupId): ?ObjectGroup
|
||||
{
|
||||
/** @var ObjectGroup|null */
|
||||
/** @var null|ObjectGroup */
|
||||
return $this->user->objectGroups()->where('id', $groupId)->first();
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@ trait CreatesObjectGroups
|
||||
|
||||
protected function findObjectGroup(string $title): ?ObjectGroup
|
||||
{
|
||||
/** @var ObjectGroup|null */
|
||||
/** @var null|ObjectGroup */
|
||||
return $this->user->objectGroups()->where('title', $title)->first();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user