From 61f549362d04448c88ef0ea968b97dbfcfd3f052 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Mon, 14 Jul 2025 18:03:42 +0800 Subject: [PATCH] eee --- Traits/QueryTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Traits/QueryTrait.php b/Traits/QueryTrait.php index d6a9ee6..e35bf05 100644 --- a/Traits/QueryTrait.php +++ b/Traits/QueryTrait.php @@ -980,7 +980,7 @@ abstract class QueryTrait extends Component implements ActiveQueryInterface, ISq * * @return $this */ - public function groupBy(string $name, string $having = NULL): static + public function groupBy(string $name, ?string $having = NULL): static { $this->group = $name; if (empty($having)) {