mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-09 20:11:22 +00:00
Fix phpstan issues.
This commit is contained in:
@@ -89,7 +89,7 @@ class ObjectGroup extends Model
|
||||
{
|
||||
if (auth()->check()) {
|
||||
$objectGroupId = (int)$value;
|
||||
/** @var ObjectGroup $objectGroup */
|
||||
/** @var ObjectGroup|null $objectGroup */
|
||||
$objectGroup = self::where('object_groups.id', $objectGroupId)
|
||||
->where('object_groups.user_id', auth()->user()->id)->first();
|
||||
if (null !== $objectGroup) {
|
||||
|
||||
Reference in New Issue
Block a user