Skip to content

Commit e5b487c

Browse files
authored
Update AsTaggedItem parameters name in the file value_resolver.rst
1 parent 8835d41 commit e5b487c

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
@@ -341,7 +341,7 @@ but you can set it yourself to change its ``priority`` or ``name`` attributes.
341341
use Symfony\Component\DependencyInjection\Attribute\AsTaggedItem;
342342
use Symfony\Component\HttpKernel\Controller\ValueResolverInterface;
343343
344-
#[AsTaggedItem(name: 'booking_id', priority: 150)]
344+
#[AsTaggedItem(index: 'booking_id', priority: 150)]
345345
class BookingIdValueResolver implements ValueResolverInterface
346346
{
347347
// ...

0 commit comments

Comments
 (0)