diff --git a/src/Commands/Traits/LocatesModels.php b/src/Commands/Traits/LocatesModels.php index 96e01d8..c74b488 100644 --- a/src/Commands/Traits/LocatesModels.php +++ b/src/Commands/Traits/LocatesModels.php @@ -15,7 +15,7 @@ trait LocatesModels /** * Get all models. */ - protected function getModels(): Collection + public function getModels(): Collection { return collect(File::allFiles(app_path())) ->map(function (SplFileInfo $info) {