From 5c3be9094549dd605ac14ab57470a716a89a3e55 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Thu, 26 Dec 2019 13:25:54 +0100 Subject: [PATCH] Fix typo --- classes/components/GroupsComponent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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