From 218738906eb0ee927773137f3ff63da76f5e6880 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 10 Aug 2021 14:00:51 +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 b503bc1e..ff89f31c 100644 --- a/Database/Traits/QueryTrait.php +++ b/Database/Traits/QueryTrait.php @@ -804,14 +804,14 @@ trait QueryTrait } /** - * @param Closure|array $column + * @param Closure|array|string $column * @param string $opera * @param null $value * @return $this * @throws NotFindClassException * @throws ReflectionException */ - public function where(Closure|array $column, string $opera = '=', $value = null): static + public function where(Closure|array|string $column, string $opera = '=', $value = null): static { if (is_array($column)) { return $this->addArray($column);