mirror of
https://github.com/netzbegruenung/user_saml.git
synced 2024-05-02 17:14:53 +02:00
Update lib/GroupDuplicateChecker.php
Co-authored-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Jonathan Treffler <mail@jonathan-treffler.de>
This commit is contained in:
parent
d162d92a01
commit
662bcd0f73
|
@ -33,7 +33,7 @@ class GroupDuplicateChecker
|
|||
$this->logger = $logger;
|
||||
}
|
||||
|
||||
public function checkForDuplicates($group) {
|
||||
public function checkForDuplicates(string $group): void {
|
||||
$existingGroup = $this->groupManager->get($group);
|
||||
if ($existingGroup !== null) {
|
||||
$reflection = new \ReflectionClass($existingGroup);
|
||||
|
|
Loading…
Reference in a new issue