diff --git a/kernel/services/ModuleService.php b/kernel/services/ModuleService.php index af441fe..7467221 100644 --- a/kernel/services/ModuleService.php +++ b/kernel/services/ModuleService.php @@ -160,11 +160,7 @@ class ModuleService return true; } - /** - * @param string $slug - * @return false - */ - public function getModuleDir(string $slug): false + public function getModuleDir(string $slug) { $module_paths = Option::where("key", "module_paths")->first(); $dirs = [];