Skip to content

Commit 4c4f9b3

Browse files
committed
Add type hint for query builder in FiltersExact.php
1 parent 8a39b52 commit 4c4f9b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Filters/FiltersExact.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ protected function withRelationConstraint(Builder $query, mixed $value, string $
6767
]);
6868

6969
$query->whereHas($relation, function (Builder $query) use ($property, $value) {
70+
/** @var Builder<TModelClass> $query */
7071
$this->relationConstraints[] = $property = $query->qualifyColumn($property);
7172

7273
$this->__invoke($query, $value, $property);

0 commit comments

Comments
 (0)