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';