diff --git a/apps/user_ldap/lib/Group_LDAP.php b/apps/user_ldap/lib/Group_LDAP.php index 723b3d856ad..81cb30dd25b 100644 --- a/apps/user_ldap/lib/Group_LDAP.php +++ b/apps/user_ldap/lib/Group_LDAP.php @@ -57,7 +57,7 @@ class Group_LDAP extends BackendUtility implements GroupInterface, IGroupLDAP, I /** @var CappedMemoryCache $cachedGroupMembers array of users with gid as key */ protected CappedMemoryCache $cachedGroupMembers; - /** @var CappedMemoryCache $cachedGroupsByMember array of groups with uid as key */ + /** @var CappedMemoryCache $cachedGroupsByMember array of groups with uid as key */ protected CappedMemoryCache $cachedGroupsByMember; /** @var CappedMemoryCache $cachedNestedGroups array of groups with gid (DN) as key */ protected CappedMemoryCache $cachedNestedGroups; @@ -1129,6 +1129,9 @@ class Group_LDAP extends BackendUtility implements GroupInterface, IGroupLDAP, I } /** + * @template T + * @param array $listOfGroups + * @return array * @throws ServerNotAvailableException * @throws Exception */ diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index dc2b8a8f10a..e672dee4c0e 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -1628,20 +1628,10 @@ - - $groupName - - - bool - - + $groupID $groupID - - is_array($groupDNs) - is_array($list) -