Apply fixes from StyleCI
This commit is contained in:
parent
36850e70d6
commit
0b0fe4c32f
@ -53,7 +53,7 @@ class Server
|
|||||||
$timeout = 2;
|
$timeout = 2;
|
||||||
$this->sock->setOption(\SOL_SOCKET, \SO_RCVTIMEO, $timeout);
|
$this->sock->setOption(\SOL_SOCKET, \SO_RCVTIMEO, $timeout);
|
||||||
$this->sock->setOption(\SOL_SOCKET, \SO_SNDTIMEO, $timeout);
|
$this->sock->setOption(\SOL_SOCKET, \SO_SNDTIMEO, $timeout);
|
||||||
\danog\MadelineProto\Logger::log("Server started! Listening on ".$this->settings['address'].":".$this->settings['port']);
|
\danog\MadelineProto\Logger::log('Server started! Listening on '.$this->settings['address'].':'.$this->settings['port']);
|
||||||
while (true) {
|
while (true) {
|
||||||
pcntl_signal_dispatch();
|
pcntl_signal_dispatch();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user