From b5bd2d12f8aeec4a7f7d6f761098ab1408594055 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 28 Jun 2021 14:58:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Database/Connection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Database/Connection.php b/Database/Connection.php index 13b4ab83..501e67cf 100644 --- a/Database/Connection.php +++ b/Database/Connection.php @@ -257,7 +257,7 @@ class Connection extends Component * @return Command * @throws */ - public function createCommand($sql = null, $attributes = []): Command + public function createCommand($sql = null, array $attributes = []): Command { $command = new Command(['db' => $this, 'sql' => $sql]); return $command->bindValues($attributes);