@@ -216,14 +216,14 @@ |
||
216 | 216 | $type = strtolower($where["type"]); |
217 | 217 | $subquery = $this->getValuesFromWhere($where); |
218 | 218 | if(isset($this->query->bindings["where"][$this->currentBinding])){ |
219 | - $values = collect($this->query->bindings["where"][$this->currentBinding]); |
|
220 | - $this->currentBinding++; |
|
221 | - $subquery = collect(vsprintf(str_replace("?", "%s", $subquery), $values->toArray())); |
|
222 | - $values = $this->recursiveImplode($subquery->toArray(), "_"); |
|
219 | + $values = collect($this->query->bindings["where"][$this->currentBinding]); |
|
220 | + $this->currentBinding++; |
|
221 | + $subquery = collect(vsprintf(str_replace("?", "%s", $subquery), $values->toArray())); |
|
222 | + $values = $this->recursiveImplode($subquery->toArray(), "_"); |
|
223 | 223 | |
224 | - return "-{$where["column"]}_{$type}{$values}"; |
|
224 | + return "-{$where["column"]}_{$type}{$values}"; |
|
225 | 225 | }else{ |
226 | - return ""; |
|
226 | + return ""; |
|
227 | 227 | } |
228 | 228 | |
229 | 229 | } |