Skip to content

Commit 43f4422

Browse files
boajerxabbuh
authored andcommitted
Update injection_types.rst
Typo fixed in the code snippet
1 parent b715c2b commit 43f4422

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service_container/injection_types.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ Another possibility is setting public fields of the class directly::
353353
return function(ContainerConfigurator $configurator) {
354354
$services = $configurator->services();
355355
356-
$services->set('app.newsletter_manager, NewsletterManager::class)
356+
$services->set('app.newsletter_manager', NewsletterManager::class)
357357
->property('mailer', ref('mailer'));
358358
};
359359

0 commit comments

Comments
 (0)