From 5acb2f4600705bbac34a285abf151321d0f21124 Mon Sep 17 00:00:00 2001 From: whwyy Date: Tue, 30 Jun 2026 22:43:20 +0800 Subject: [PATCH] eee --- Traits/QueryTrait.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Traits/QueryTrait.php b/Traits/QueryTrait.php index ac9a63b..1522209 100644 --- a/Traits/QueryTrait.php +++ b/Traits/QueryTrait.php @@ -116,6 +116,15 @@ abstract class QueryTrait extends Component implements ActiveQueryInterface, ISq } + public function __get(string $name) + { + if (method_exists($this, $name)) { + return $this->$name; + } + return parent::__get($name); // TODO: Change the autogenerated stub + } + + /** * Comply constructor. * @throws