Update lib/GroupManager.php

Signed-off-by: Jonathan Treffler <mail@jonathan-treffler.de>

Co-authored-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
Jonathan Treffler 2021-09-29 11:53:52 +02:00 committed by Jonathan Treffler
parent 662bcd0f73
commit cbd0d18c02

View file

@ -61,7 +61,7 @@ class GroupManager
$this->settings = $settings;
}
private function getGroupsToRemove($samlGroups, $assignedGroups): array {
private function getGroupsToRemove(array $samlGroups, array $assignedGroups): array {
$groupsToRemove = [];
foreach($assignedGroups as $group) {
// if group is not supplied by SAML and group has SAML backend