@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | */ |
103 | 103 | public function whereIn($field, array $values): self |
104 | 104 | { |
105 | - $wheres = array_map(function ($value) use ($field) { |
|
105 | + $wheres = array_map(function($value) use ($field) { |
|
106 | 106 | return "$field={$this->transform($value)}"; |
107 | 107 | }, array_values($values)); |
108 | 108 | |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | { |
125 | 125 | $callback = $this->callback; |
126 | 126 | |
127 | - $this->callback = function ($algolia, $query, $baseParameters) use ($parameters, $callback) { |
|
127 | + $this->callback = function($algolia, $query, $baseParameters) use ($parameters, $callback) { |
|
128 | 128 | $parameters = array_merge($parameters, $baseParameters); |
129 | 129 | |
130 | 130 | if (is_callable($callback)) { |
@@ -108,7 +108,7 @@ |
||
108 | 108 | { |
109 | 109 | $operators = ['<', '<=', '=', '!=', '>=', '>', ':']; |
110 | 110 | |
111 | - return collect($builder->wheres)->map(function ($value, $key) use ($operators) { |
|
111 | + return collect($builder->wheres)->map(function($value, $key) use ($operators) { |
|
112 | 112 | if (is_string($value)) { |
113 | 113 | if (ends_with($key, $operators) || starts_with($value, $operators)) { |
114 | 114 | return $key.' '.$value; |