Skip to content

Commit a73b542

Browse files
makrazxabbuh
authored andcommitted
Update AsTaggedItem parameters name in the file value_resolver.rst
1 parent 6e01dc1 commit a73b542

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controller/value_resolver.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ but you can set it yourself to change its ``priority`` or ``name`` attributes.
382382
use Symfony\Component\DependencyInjection\Attribute\AsTaggedItem;
383383
use Symfony\Component\HttpKernel\Controller\ValueResolverInterface;
384384
385-
#[AsTaggedItem(name: 'booking_id', priority: 150)]
385+
#[AsTaggedItem(index: 'booking_id', priority: 150)]
386386
class BookingIdValueResolver implements ValueResolverInterface
387387
{
388388
// ...

0 commit comments

Comments
 (0)