Skip to content

Commit 53b234d

Browse files
committed
minor #15395 Typo with backslashes (askeita)
This PR was submitted for the 5.2 branch but it was merged into the 4.4 branch instead. Discussion ---------- Typo with backslashes Added backslahes in SiteUpdateManager path. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `5.x` for features of unreleased versions). --> Commits ------- 6dc8933 Typo with backslashes
2 parents 9b37567 + 6dc8933 commit 53b234d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service_container.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ example, suppose you want to make the admin email configurable:
403403
404404
If you make this change and refresh, you'll see an error:
405405

406-
Cannot autowire service "App\Service\SiteUpdateManager": argument "$adminEmail"
406+
Cannot autowire service "App\\Service\\SiteUpdateManager": argument "$adminEmail"
407407
of method "__construct()" must have a type-hint or be given a value explicitly.
408408

409409
That makes sense! There is no way that the container knows what value you want to

0 commit comments

Comments
 (0)