Skip to content

Commit

Permalink
docs: fix custom filter usage on several properties (#2066)
Browse files Browse the repository at this point in the history
  • Loading branch information
lobodol authored Nov 20, 2024
1 parent 557ad63 commit 0408e85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -1651,7 +1651,7 @@ use ApiPlatform\Core\Annotation\ApiResource;
use App\Filter\CustomAndFilter;
#[ApiResource]
#[ApiFilter(CustomAndFilter::class, properties={"name", "cost"})]
#[ApiFilter(CustomAndFilter::class, properties=["name", "cost"])]
class Offer
{
// ...
Expand Down

0 comments on commit 0408e85

Please sign in to comment.