From dcee10b77b1389e2d9c2b874c17e35a34b3fe189 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Mon, 14 Jul 2025 18:34:02 +0800 Subject: [PATCH] eee --- Connection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Connection.php b/Connection.php index 8c0c3a2..e172d53 100644 --- a/Connection.php +++ b/Connection.php @@ -312,7 +312,7 @@ class Connection extends Component */ public function createCommand(string $sql, array $attributes = []): Command { - return (new Command(['connection' => $this, 'sql' => $sql]))->bindValues($attributes); + return new Command(['connection' => $this, 'sql' => $sql])->bindValues($attributes); }