We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fd8339 commit b19ee7aCopy full SHA for b19ee7a
src/Builder.php
@@ -133,7 +133,7 @@ protected function addSearchClauses(
133
134
// For morphOne/morphMany support we need to port the bindings from JoinClauses.
135
$joinBindings = collect($subquery->getQuery()->joins)->flatMap(function ($join) {
136
- $join->getBindings();
+ return $join->getBindings();
137
})->all();
138
139
$this->addBinding($joinBindings, 'select');
0 commit comments