From 456c7f29b6dbe54972211028035639fbb2ca0367 Mon Sep 17 00:00:00 2001 From: whwyy Date: Wed, 31 Dec 2025 00:49:39 +0800 Subject: [PATCH] eee --- Traits/QueryTrait.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Traits/QueryTrait.php b/Traits/QueryTrait.php index e35bf05..524e084 100644 --- a/Traits/QueryTrait.php +++ b/Traits/QueryTrait.php @@ -46,10 +46,14 @@ abstract class QueryTrait extends Component implements ActiveQueryInterface, ISq /** * @var ModelInterface|string|null */ - protected ModelInterface|string|null $modelClass; + protected ModelInterface|string|null $modelClass { + get { + return $this->modelClass; + } + } - /** + /** * Comply constructor. * @throws */ @@ -63,7 +67,7 @@ abstract class QueryTrait extends Component implements ActiveQueryInterface, ISq } - /** + /** * @param array $where * * @return void