Skip to content

Commit

Permalink
Update service_subscribers_locators.rst
Browse files Browse the repository at this point in the history
Fix defaultIndexMethod attribute typo
  • Loading branch information
ScullWM authored Jul 17, 2024
1 parent 55d376f commit d6390ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service_container/service_subscribers_locators.rst
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ get the value used to index the services:
class CommandBus
{
public function __construct(
#[TaggedLocator('app.handler', 'defaultIndexMethod: 'getLocatorKey')]
#[TaggedLocator('app.handler', defaultIndexMethod: 'getLocatorKey')]
private ContainerInterface $locator,
) {
}
Expand Down

0 comments on commit d6390ba

Please sign in to comment.