Skip to content

Commit fceb1e1

Browse files
authored
Merge pull request #749 from kayw-geek/main
Fix Laravel 9 PHPStan generic check
2 parents 26e343c + 14c1d51 commit fceb1e1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Filters/Filter.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,12 @@
66

77
interface Filter
88
{
9+
/**
10+
* @param \Illuminate\Database\Eloquent\Builder<\Illuminate\Database\Eloquent\Model> $query
11+
* @param mixed $value
12+
* @param string $property
13+
*
14+
* @return mixed
15+
*/
916
public function __invoke(Builder $query, $value, string $property);
1017
}

0 commit comments

Comments
 (0)