Skip to content

Commit 08b34cb

Browse files
committed
minor #12840 Update injection_types.rst (boajer)
This PR was submitted for the 5.0 branch but it was merged into the 4.3 branch instead (closes #12840). Discussion ---------- Update injection_types.rst Typo fixed in the code snippet <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- 43f4422 Update injection_types.rst
2 parents b715c2b + 43f4422 commit 08b34cb

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
@@ -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)