From bb372844dc39e187bee1a636dafe3efc095f24e1 Mon Sep 17 00:00:00 2001 From: wuyanwen Date: Mon, 20 Jan 2020 11:46:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20whereLike=20=E6=96=B9?= =?UTF-8?q?=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/catcher/CatchQuery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extend/catcher/CatchQuery.php b/extend/catcher/CatchQuery.php index 79a0ebf..161251c 100644 --- a/extend/catcher/CatchQuery.php +++ b/extend/catcher/CatchQuery.php @@ -132,7 +132,7 @@ class CatchQuery extends Query * @param string $logic * @return Query */ - public function whereLike(string $field, $condition, $option = 'both', string $logic = 'AND'): Query + public function whereLike(string $field, $condition, string $logic = 'AND', $option = 'both'): Query { switch ($option) { case 'both':