修改 whereLike 方法

This commit is contained in:
wuyanwen 2020-01-20 11:46:32 +08:00
parent 5f9e90ec67
commit bb372844dc

View File

@ -132,7 +132,7 @@ class CatchQuery extends Query
* @param string $logic * @param string $logic
* @return Query * @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) { switch ($option) {
case 'both': case 'both':