Skip to content

Commit 7345297

Browse files
authored
Replace undefined argument with intended string argument
1 parent 1c7ddc9 commit 7345297

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service_container/definitions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ There are some helpful methods for working with the service definitions::
2929
// get the "app.user_config_manager" definition
3030
$definition = $container->getDefinition('app.user_config_manager');
3131
// get the definition with the "app.user_config_manager" ID or alias
32-
$definition = $container->findDefinition($serviceId);
32+
$definition = $container->findDefinition('app.user_config_manager');
3333

3434
// add a new "app.number_generator" definitions
3535
$definition = new Definition('AppBundle\NumberGenerator');

0 commit comments

Comments
 (0)