We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af0f127 commit b6638ddCopy full SHA for b6638dd
src/Symfony/Component/Mailer/Transport/Smtp/Stream/ProcessStream.php
@@ -56,8 +56,7 @@ public function terminate(): void
56
fclose($this->out);
57
$err = stream_get_contents($this->err);
58
fclose($this->err);
59
- $exitCode = proc_close($this->stream);
60
- if (0 !== $exitCode) {
+ if (0 !== $exitCode = proc_close($this->stream)) {
61
throw new TransportException('Process failed with exit code '.$exitCode.': '.$out.$err);
62
}
63
0 commit comments