typo in var name (#394)

This commit is contained in:
rik43 2018-04-15 13:00:18 +03:00 committed by Daniil Gentili
parent 83f810a825
commit ccef4bc4f0

View File

@ -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)