Skip to content

Commit 522bca4

Browse files
authored
Update injection_types.rst
Typo fixed in the code snippet
1 parent cc22936 commit 522bca4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service_container/injection_types.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ Another possibility is setting public fields of the class directly::
349349
return function(ContainerConfigurator $configurator) {
350350
$services = $configurator->services();
351351
352-
$services->set('app.newsletter_manager, NewsletterManager::class)
352+
$services->set('app.newsletter_manager', NewsletterManager::class)
353353
->property('mailer', ref('mailer'));
354354
};
355355

0 commit comments

Comments
 (0)