mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	Fix phpstan error courtesy of the laravel 11 upgrade (changed signatures and return types)
This commit is contained in:
		| @@ -106,8 +106,8 @@ class UserGroupRepository implements UserGroupRepositoryInterface | ||||
|             /** @var null|UserGroup $group */ | ||||
|             $group = $membership->userGroup()->first(); | ||||
|             if (null !== $group) { | ||||
|                 $groupId       = (int)$group->id; | ||||
|                 if (in_array($groupId, $set, true)) { | ||||
|                 $groupId       = $group->id; | ||||
|                 if (in_array($groupId, array_keys($set), true)) { | ||||
|                     continue; | ||||
|                 } | ||||
|                 $set[$groupId] = $group; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user