typo in var name (#394)
This commit is contained in:
parent
83f810a825
commit
ccef4bc4f0
@ -266,7 +266,7 @@ if (!extension_loaded('pthreads')) {
|
||||
|
||||
public function write(string $buffer, int $length = -1)
|
||||
{
|
||||
return $length === -1 ? socket_write($this->sock, $buffer) : socket_write($this->sock, $buffer, $Length);
|
||||
return $length === -1 ? socket_write($this->sock, $buffer) : socket_write($this->sock, $buffer, $length);
|
||||
}
|
||||
|
||||
public function send(string $data, int $length, int $flags)
|
||||
|
Loading…
Reference in New Issue
Block a user