Skip to content

Commit 0f14fcc

Browse files
lobodolvinceAmstoutz
authored andcommitted
docs: fix custom filter usage on several properties (api-platform#2066)
1 parent 19d3b57 commit 0f14fcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/filters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1651,7 +1651,7 @@ use ApiPlatform\Core\Annotation\ApiResource;
16511651
use App\Filter\CustomAndFilter;
16521652
16531653
#[ApiResource]
1654-
#[ApiFilter(CustomAndFilter::class, properties={"name", "cost"})]
1654+
#[ApiFilter(CustomAndFilter::class, properties=["name", "cost"])]
16551655
class Offer
16561656
{
16571657
// ...

0 commit comments

Comments
 (0)