Apply fixes from StyleCI
This commit is contained in:
parent
8a3cc16d53
commit
f22b26d4a3
@ -134,8 +134,12 @@ if (!extension_loaded('pthreads')) {
|
|||||||
{
|
{
|
||||||
$this->protocol = getprotobynumber($protocol);
|
$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)
|
public function setOption(int $level, int $name, $value)
|
||||||
|
Loading…
Reference in New Issue
Block a user