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 9693cf7 commit 461976aCopy full SHA for 461976a
Transport/Smtp/Stream/AbstractStream.php
@@ -35,7 +35,7 @@ public function write(string $bytes): void
35
$bytesToWrite = \strlen($bytes);
36
$totalBytesWritten = 0;
37
while ($totalBytesWritten < $bytesToWrite) {
38
- $bytesWritten = fwrite($this->in, substr($bytes, $totalBytesWritten));
+ $bytesWritten = @fwrite($this->in, substr($bytes, $totalBytesWritten));
39
if (false === $bytesWritten || 0 === $bytesWritten) {
40
throw new TransportException('Unable to write bytes on the wire.');
41
}
0 commit comments