From 2a86b0c4a282d487d8849bcb686f7a3e077ab7c2 Mon Sep 17 00:00:00 2001 From: Given Ncube Date: Tue, 6 Feb 2024 11:27:41 +0200 Subject: [PATCH] fix: exposed locates models method to facade --- src/Commands/Traits/LocatesModels.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {