Skip to content

Navigation Menu

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 b6638dd

Browse filesBrowse files
Follow suggested coding standards
Co-authored-by: Nicolas Grekas <nicolas.grekas@gmail.com>
1 parent af0f127 commit b6638dd
Copy full SHA for b6638dd

File tree

1 file changed

+1
-2
lines changed
Filter options

1 file changed

+1
-2
lines changed

‎src/Symfony/Component/Mailer/Transport/Smtp/Stream/ProcessStream.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Mailer/Transport/Smtp/Stream/ProcessStream.php
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ public function terminate(): void
5656
fclose($this->out);
5757
$err = stream_get_contents($this->err);
5858
fclose($this->err);
59-
$exitCode = proc_close($this->stream);
60-
if (0 !== $exitCode) {
59+
if (0 !== $exitCode = proc_close($this->stream)) {
6160
throw new TransportException('Process failed with exit code '.$exitCode.': '.$out.$err);
6261
}
6362
}

0 commit comments

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