Skip to content

Commit 9d1e27b

Browse files
ttskchdunglas
authored andcommitted
fix: 🐛 PHP Attribute syntax
1 parent 22340ba commit 9d1e27b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/doctrine-filters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1268,7 +1268,7 @@ use ApiPlatform\Core\Annotation\ApiResource;
12681268
use App\Filter\CustomAndFilter;
12691269
12701270
#[ApiResource]
1271-
#[ApiFilter(CustomAndFilter::class, properties=["name", "cost"])]
1271+
#[ApiFilter(CustomAndFilter::class, properties: ['name', 'cost'])]
12721272
class Offer
12731273
{
12741274
// ...

0 commit comments

Comments
 (0)