From c3c377a4e20f0fb2cd991f6687415bcadb47f18d Mon Sep 17 00:00:00 2001 From: stasbilay02 Date: Tue, 15 Oct 2024 16:15:46 +0300 Subject: [PATCH] some fix --- kernel/services/ModuleService.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 = [];