Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2017-01-30 11:30:31 +00:00 committed by StyleCI Bot
parent 36294c0b6a
commit 7ffdc0ee48

View File

@ -55,7 +55,8 @@ trait Login
if (!isset($this->API->settings['pwr']['pwr']) || !$this->API->settings['pwr']['pwr']) { if (!isset($this->API->settings['pwr']['pwr']) || !$this->API->settings['pwr']['pwr']) {
try { try {
file_get_contents('https://api.pwrtelegram.xyz/bot'.$token.'/getme'); file_get_contents('https://api.pwrtelegram.xyz/bot'.$token.'/getme');
} catch (\danog\MadelineProto\Exception $e) { ; }; } catch (\danog\MadelineProto\Exception $e) {
}
} }
\danog\MadelineProto\Logger::log(['Logged in successfully!'], \danog\MadelineProto\Logger::NOTICE); \danog\MadelineProto\Logger::log(['Logged in successfully!'], \danog\MadelineProto\Logger::NOTICE);