8000 minor #7222 Replace undefined argument with intended string argument … · symfony/symfony-docs@075df7e · GitHub
[go: up one dir, main page]

Skip to content

Commit 075df7e

Browse files
committed
minor #7222 Replace undefined argument with intended string argument (gskema)
This PR was merged into the 2.7 branch. Discussion ---------- Replace undefined argument with intended string argument Since the comment mentions `app.user_config_manager`, I assume it was meant to be used as an argument here. Commits ------- 7345297 Replace undefined argument with intended string argument
2 parents cddbfe3 + 7345297 commit 075df7e

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)
0