Style fix
parent
45ac0c8b5f
commit
a44b501319
|
@ -21,7 +21,7 @@ class ProtocolStreamWriter implements ProtocolWriter
|
||||||
public function __construct($output)
|
public function __construct($output)
|
||||||
{
|
{
|
||||||
$this->output = $output;
|
$this->output = $output;
|
||||||
Loop\addWriteStream($this->output, function() {
|
Loop\addWriteStream($this->output, function () {
|
||||||
$msgSize = strlen($this->buffer);
|
$msgSize = strlen($this->buffer);
|
||||||
$bytesWritten = @fwrite($this->output, $this->buffer);
|
$bytesWritten = @fwrite($this->output, $this->buffer);
|
||||||
if ($bytesWritten > 0) {
|
if ($bytesWritten > 0) {
|
||||||
|
|
Loading…
Reference in New Issue