Skip to content

Commit

Permalink
- Use QueryBuilder::for() again.
Browse files Browse the repository at this point in the history
  • Loading branch information
IndexZer0 committed May 19, 2024
1 parent 1ee3915 commit abde873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AllowedRelationshipFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function filter(QueryBuilder $query, $value): void
$this->allowedFilters->each(
function (AllowedFilterContract $allowedFilter) use ($query, $value) {
$allowedFilter->filter(
$query,
QueryBuilder::for($query),
$allowedFilter->getValueFromCollection($value)
);
}
Expand Down

0 comments on commit abde873

Please sign in to comment.