From 3a76da1709bfa292ede959c5b9cea979318754fe Mon Sep 17 00:00:00 2001 From: salehhashemi1992 <81674631+salehhashemi1992@users.noreply.github.com> Date: Tue, 19 Dec 2023 10:10:16 +0330 Subject: [PATCH] change the scope of criteria property to private --- src/BaseEloquentRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BaseEloquentRepository.php b/src/BaseEloquentRepository.php index b7e9660..9c0f3df 100644 --- a/src/BaseEloquentRepository.php +++ b/src/BaseEloquentRepository.php @@ -17,7 +17,7 @@ abstract class BaseEloquentRepository implements RepositoryInterface /** * @var CriteriaInterface[] */ - protected array $criteria = []; + private array $criteria = []; private array $relations = [];