Skip to content

Commit

Permalink
Typo with backslashes
Browse files Browse the repository at this point in the history
Added backslahes in SiteUpdateManager path.
  • Loading branch information
askeita authored and javiereguiluz committed Jun 1, 2021
1 parent 9b37567 commit 6dc8933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service_container.rst
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ example, suppose you want to make the admin email configurable:
If you make this change and refresh, you'll see an error:

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

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

0 comments on commit 6dc8933

Please sign in to comment.