Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2018-05-10 09:44:40 +00:00 committed by StyleCI Bot
parent 728bb80c80
commit c6fdf8d10b

View File

@ -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();
} }