Skip to content

Commit

Permalink
apply review suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
mjauvin committed Dec 4, 2024
1 parent b925736 commit 7ee9cd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/system/helpers/ModelFinder.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down

0 comments on commit 7ee9cd1

Please sign in to comment.