|
@@ -109,8 +109,8 @@ |
|
|
block discarded – undo |
|
109
|
109
|
{ |
|
110
|
110
|
$operators = ['<', '<=', '=', '!=', '>=', '>', ':']; |
|
111
|
111
|
|
|
112
|
|
- return collect($builder->wheres)->map(function ($value, $key) use ($operators) { |
|
113
|
|
- if (! is_array($value)) { |
|
|
112
|
+ return collect($builder->wheres)->map(function($value, $key) use ($operators) { |
|
|
113
|
+ if ( ! is_array($value)) { |
|
114
|
114
|
if (Str::endsWith($key, $operators) || Str::startsWith($value, $operators)) { |
|
115
|
115
|
return $key.' '.$value; |
|
116
|
116
|
} |
Please login to merge, or discard this patch.