修改 whereLike 方法
This commit is contained in:
parent
5f9e90ec67
commit
bb372844dc
@ -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':
|
||||
|
Loading…
x
Reference in New Issue
Block a user