@@ -87,7 +87,7 @@ protected function getInAndNotInClauses(array $where) : string
87
87
88
88
$ type = strtolower ($ where ["type " ]);
89
89
$ subquery = $ this ->getValuesFromWhere ($ where );
90
- $ values = collect ($ this ->getCurrentBinding ('where ' ) ?? [] );
90
+ $ values = collect ($ this ->getCurrentBinding ('where ' , []) );
91
91
92
92
if (Str::startsWith ($ subquery , $ values ->first ())) {
93
93
$ this ->currentBinding += count ($ where ["values " ]);
@@ -210,7 +210,7 @@ protected function getRawClauses(array $where) : string
210
210
211
211
while (count ($ queryParts ) > 1 ) {
212
212
$ clause .= "_ " . array_shift ($ queryParts );
213
- $ clause .= $ this ->getCurrentBinding (' where ' );
213
+ $ clause .= $ this ->getCurrentBinding (" where " , "" );
214
214
$ this ->currentBinding ++;
215
215
}
216
216
@@ -275,14 +275,14 @@ protected function getValuesFromWhere(array $where) : string
275
275
protected function getValuesFromBindings (array $ where , string $ values ) : string
276
276
{
277
277
$ bindingFallback = __CLASS__ . ':UNKNOWN_BINDING ' ;
278
- $ currentBinding = $ this ->getCurrentBinding (' where ' , $ bindingFallback );
278
+ $ currentBinding = $ this ->getCurrentBinding (" where " , $ bindingFallback );
279
279
280
280
if ($ currentBinding !== $ bindingFallback ) {
281
281
$ values = $ currentBinding ;
282
282
$ this ->currentBinding ++;
283
283
284
284
if ($ where ["type " ] === "between " ) {
285
- $ values .= "_ " . $ this ->getCurrentBinding (' where ' );
285
+ $ values .= "_ " . $ this ->getCurrentBinding (" where " , "" );
286
286
$ this ->currentBinding ++;
287
287
}
288
288
}
0 commit comments