From 7ee9cd115e6f671a55a367356883a646050a8f82 Mon Sep 17 00:00:00 2001 From: Marc Jauvin Date: Wed, 4 Dec 2024 16:19:45 -0500 Subject: [PATCH] apply review suggestion --- modules/system/helpers/ModelFinder.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/system/helpers/ModelFinder.php b/modules/system/helpers/ModelFinder.php index 51f05a5ef..a3643f0f0 100644 --- a/modules/system/helpers/ModelFinder.php +++ b/modules/system/helpers/ModelFinder.php @@ -16,13 +16,13 @@ class ModelFinder public static function findModels(): array { $models = []; - $models[] = static::findCoreModels(); + $models[] = static::findModuleModels(); $models[] = static::findActivePluginsModels(); return collect($models)->flatten()->all(); } - public static function findCoreModels(): array + public static function findModuleModels(): array { $modulesPath = base_path() . '/modules';