[13.x] Fix `whereValueBetween()` binding expression values
Merged
XU
24d ago+7+7+0123456789-1-1-0123456789
whereValueBetween() adds an expression value to the bindings, so the query fails:
Promo::whereValueBetween(DB::raw('CURRENT_DATE'), ['starts_at', 'ends_at'])->get();
// Error: Object of class Illuminate\Database\Query\Expression could not be converted to string