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':