Commit 71ab78f
committed
bug symfony#12531 Fix construction of SmtpTransport in Mailer docs (pskt)
This PR was merged into the 4.3 branch.
Discussion
----------
Fix construction of SmtpTransport in Mailer docs
Changed `SmtpTransport` to `EsmtpTransport` in standalone component docs.
`SmtpTransport::__construct()` requires instance of `AbstractStream` (see https://github.com/symfony/mailer/blob/master/Transport/Smtp/SmtpTransport.php#L41). Construction with host name is available in `EsmtpTransport` (https://github.com/symfony/mailer/blob/master/Transport/Smtp/EsmtpTransport.php#L33)
Commits
-------
c66c4af Fix construction of SmtpTransport in Mailer docs1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments