diff --git a/classes/components/GroupsComponent.php b/classes/components/GroupsComponent.php index beedf1a..705fbd8 100644 --- a/classes/components/GroupsComponent.php +++ b/classes/components/GroupsComponent.php @@ -731,7 +731,7 @@ class GroupsComponent { * @param int $groupID The ID of the target group * @return bool TRUE if the directory is available / FALSE */ - public function checkDirectoryAvailability(string $directory, int $groupID) : int { + public function checkDirectoryAvailability(string $directory, int $groupID) : bool { $currID = $this->findByVirtualDirectory($directory); //Check if the domain has not been allocated