Apply fixes from StyleCI
This commit is contained in:
parent
728bb80c80
commit
c6fdf8d10b
@ -89,7 +89,9 @@ class Proxy extends \danog\MadelineProto\Connection
|
|||||||
//\danog\MadelineProto\Logger::log("Will read from DC $dc on ".\danog\MadelineProto\Magic::$pid);
|
//\danog\MadelineProto\Logger::log("Will read from DC $dc on ".\danog\MadelineProto\Magic::$pid);
|
||||||
$this->send_message($socket->read_message());
|
$this->send_message($socket->read_message());
|
||||||
}
|
}
|
||||||
if (empty($read)) throw new \danog\MadelineProto\NothingInTheSocketException('Inactivity');
|
if (empty($read)) {
|
||||||
|
throw new \danog\MadelineProto\NothingInTheSocketException('Inactivity');
|
||||||
|
}
|
||||||
} catch (\danog\MadelineProto\NothingInTheSocketException $e) {
|
} catch (\danog\MadelineProto\NothingInTheSocketException $e) {
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user