Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2017-12-16 19:01:35 +00:00 committed by StyleCI Bot
parent 8a3cc16d53
commit f22b26d4a3

View File

@ -134,8 +134,12 @@ if (!extension_loaded('pthreads')) {
{
$this->protocol = getprotobynumber($protocol);
}
public function __destruct() {
if ($this->sock !== NULL) fclose($this->sock);
public function __destruct()
{
if ($this->sock !== null) {
fclose($this->sock);
}
}
public function setOption(int $level, int $name, $value)