Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e5eec74

Browse filesBrowse files
committed
minor #11982 Fixed Swiftmailer PHP configuration (dborsatto)
This PR was submitted for the 4.0 branch but it was merged into the 4.2 branch instead (closes #11982). Discussion ---------- Fixed Swiftmailer PHP configuration Just a fix for a PHP snippet in the Swiftmailer reference configuration. I chose 4.0 as target as it's the branch when this snippet was introduced, let me know if I need to change anything. Commits ------- e1ad33e Fixed Swiftmailer PHP configuration
2 parents cfee844 + e1ad33e commit e5eec74
Copy full SHA for e5eec74

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎reference/configuration/swiftmailer.rst

Copy file name to clipboardExpand all lines: reference/configuration/swiftmailer.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ alternatives based on the :ref:`service binding <services-binding>` feature:
388388
->setPublic(true)
389389
->setBindings([
390390
// this injects the second mailer when this service type-hints constructor arguments with \Swift_Mailer
391-
\Swift_Mailer => '@swiftmailer.mailer.second_mailer',
391+
\Swift_Mailer::class => '@swiftmailer.mailer.second_mailer',
392392
// this injects the second mailer when this service has a constructor argument called $specialMailer
393393
'$specialMailer' => '@swiftmailer.mailer.second_mailer',
394394
])

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.