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:
Jonathan Treffler 2021-09-29 11:33:23 +02:00 committed by Jonathan Treffler
parent d162d92a01
commit 662bcd0f73

View file

@ -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);