From 4e145cd1438f05b3814c4e7a99d4ce50ae8756c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Sat, 9 Oct 2021 16:25:38 +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 --- src/Command.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Command.php b/src/Command.php index a9b3035..5082537 100644 --- a/src/Command.php +++ b/src/Command.php @@ -139,10 +139,10 @@ class Command extends Component /** * @param $type - * @return array|int + * @return array|int|bool|null * @throws Exception */ - private function search($type): array|int + private function search($type): array|int|bool|null { $pdo = $this->db->getConnect($this->sql); if ($type === static::FETCH_COLUMN) {