From 43f4422098f6145894386c90181962dc56cbcd48 Mon Sep 17 00:00:00 2001 From: Mikhail Kamarouski <4569734+boajer@users.noreply.github.com> Date: Tue, 24 Dec 2019 15:41:41 +0300 Subject: [PATCH] Update injection_types.rst Typo fixed in the code snippet --- service_container/injection_types.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service_container/injection_types.rst b/service_container/injection_types.rst index fd383ff11ed..2a728de4879 100644 --- a/service_container/injection_types.rst +++ b/service_container/injection_types.rst @@ -353,7 +353,7 @@ Another possibility is setting public fields of the class directly:: return function(ContainerConfigurator $configurator) { $services = $configurator->services(); - $services->set('app.newsletter_manager, NewsletterManager::class) + $services->set('app.newsletter_manager', NewsletterManager::class) ->property('mailer', ref('mailer')); };