Skip to content

Commit

Permalink
Merge pull request #749 from kayw-geek/main
Browse files Browse the repository at this point in the history
Fix Laravel 9 PHPStan generic check
  • Loading branch information
freekmurze authored Apr 25, 2022
2 parents 26e343c + 14c1d51 commit fceb1e1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Filters/Filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,12 @@

interface Filter
{
/**
* @param \Illuminate\Database\Eloquent\Builder<\Illuminate\Database\Eloquent\Model> $query
* @param mixed $value
* @param string $property
*
* @return mixed
*/
public function __invoke(Builder $query, $value, string $property);
}

0 comments on commit fceb1e1

Please sign in to comment.