From 6dc8933fdf74a7b3db287ad2ed1fbf6943eee46f Mon Sep 17 00:00:00 2001 From: Al-Saleh KEITA <28827545+askeita@users.noreply.github.com> Date: Mon, 31 May 2021 22:49:59 +0200 Subject: [PATCH] Typo with backslashes Added backslahes in SiteUpdateManager path. --- service_container.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service_container.rst b/service_container.rst index 26822ceb57b..5aa5573c1b5 100644 --- a/service_container.rst +++ b/service_container.rst @@ -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