From 8f4ec6dd97b9333fc356a54c09f1c4c4a80412ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 24 Feb 2021 18:55:23 +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/Traits/QueryTrait.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Database/Traits/QueryTrait.php b/Database/Traits/QueryTrait.php index 101a6e16..3390794e 100644 --- a/Database/Traits/QueryTrait.php +++ b/Database/Traits/QueryTrait.php @@ -730,8 +730,8 @@ trait QueryTrait */ public function where(callable|array|string $conditions): static { - var_dump($conditions); - $this->where[] = [$conditions]; + $this->where[] = $conditions; + var_dump($this->where); return $this; }