mirror of
https://github.com/netzbegruenung/user_saml.git
synced 2024-05-02 09:14:50 +02:00
Update lib/GroupManager.php
Co-authored-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Jonathan Treffler <mail@jonathan-treffler.de>
This commit is contained in:
parent
5c0bec0280
commit
d162d92a01
|
@ -83,7 +83,7 @@ class GroupManager
|
|||
return $groupsToAdd;
|
||||
}
|
||||
|
||||
public function replaceGroups($uid, $samlGroups) {
|
||||
public function replaceGroups(string $uid, array $samlGroups): void {
|
||||
$user = $this->userManager->get($uid);
|
||||
if($user === null) {
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue