mirror of
https://github.com/netzbegruenung/user_saml.git
synced 2024-05-03 01:24:52 +02:00
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:
parent
d6b46bf055
commit
eca9e26e39
|
@ -114,7 +114,7 @@ class GroupManager
|
|||
}
|
||||
}
|
||||
|
||||
public function removeGroup(IUser $user, string $gid) {
|
||||
public function removeGroup(IUser $user, string $gid): void {
|
||||
$group = $this->groupManager->get($gid);
|
||||
if($group === null) {
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue