Skip to content

Commit

Permalink
Update AllowedFilter.php -> getFilterClass return type
Browse files Browse the repository at this point in the history
  • Loading branch information
justasSendrauskas authored Nov 15, 2023
1 parent c5b21ca commit f5dd886
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AllowedFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public static function custom(string $name, Filter $filterClass, $internalName =
return new static($name, $filterClass, $internalName);
}

public function getFilterClass(): string
public function getFilterClass(): \Spatie\QueryBuilder\Filters\Filter
{
return $this->filterClass;
}
Expand Down

0 comments on commit f5dd886

Please sign in to comment.