From 105c866aefaf93abae186d68ed426392437adbb1 Mon Sep 17 00:00:00 2001 From: lukinovec Date: Thu, 25 Jan 2024 14:37:11 +0100 Subject: [PATCH] Delete todo comment ($modelsExcludedFromDiscovery added) --- src/Database/Concerns/DealsWithModels.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Database/Concerns/DealsWithModels.php b/src/Database/Concerns/DealsWithModels.php index 6fc5f11f..92597773 100644 --- a/src/Database/Concerns/DealsWithModels.php +++ b/src/Database/Concerns/DealsWithModels.php @@ -29,7 +29,6 @@ trait DealsWithModels $modelFiles = Finder::create()->files()->name('*.php')->in(config('tenancy.rls.model_directories')); - // todo1 Add array property for excluding specific models return array_filter(array_map(function (SplFileInfo $file) { $fileContents = str($file->getContents()); $class = $fileContents->after('class ')->before("\n")->explode(' ')->first();