@@ -108,8 +108,8 @@ |
||
108 | 108 | { |
109 | 109 | $operators = ['<', '<=', '=', '!=', '>=', '>', ':']; |
110 | 110 | |
111 | - return collect($builder->wheres)->map(function ($value, $key) use ($operators) { |
|
112 | - if (! is_array($value)) { |
|
111 | + return collect($builder->wheres)->map(function($value, $key) use ($operators) { |
|
112 | + if ( ! is_array($value)) { |
|
113 | 113 | if (ends_with($key, $operators) || starts_with($value, $operators)) { |
114 | 114 | return $key.' '.$value; |
115 | 115 | } |