1
0
Fork 0

Make PHP shut up about socket notices

pull/111/head
Felix Becker 2016-10-24 23:12:40 +02:00
parent 5ecab683eb
commit f5e1d15a10
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class ProtocolStreamWriter implements ProtocolWriter
$totalBytesWritten = 0;
while ($totalBytesWritten < $msgSize) {
$bytesWritten = fwrite($this->output, substr($data, $totalBytesWritten));
$bytesWritten = @fwrite($this->output, substr($data, $totalBytesWritten));
$totalBytesWritten += $bytesWritten;
}
}