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 a8fc5a6

Browse filesBrowse files
quiliusfabpot
andauthored
Update src/Symfony/Component/Mailer/Transport/Smtp/EsmtpTransportFactory.php
Co-authored-by: Fabien Potencier <fabien@potencier.org>
1 parent 93652bc commit a8fc5a6
Copy full SHA for a8fc5a6

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/Mailer/Transport/Smtp/EsmtpTransportFactory.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Mailer/Transport/Smtp/EsmtpTransportFactory.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function create(Dsn $dsn): TransportInterface
3838

3939
/** @var SocketStream $stream */
4040
$stream = $transport->getStream();
41-
if ('' !== ($sourceIp = $dsn->getOption('source_ip', ''))) {
41+
if ('' !== $sourceIp = $dsn->getOption('source_ip', '')) {
4242
$stream->setSourceIp($sourceIp);
4343
}
4444
$streamOptions = $stream->getStreamOptions();

0 commit comments

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