Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2017-09-20 18:53:09 +00:00 committed by StyleCI Bot
parent 9e241def53
commit aec908c173

View File

@ -79,10 +79,13 @@ trait UpdateHandler
});
$time = microtime(true);
try {
$this->get_updates_difference();
} catch (\danog\MadelineProto\RPCErrorException $e) {
if ($e->rpc !== 'RPC_CALL_FAIL') throw $e;
if ($e->rpc !== 'RPC_CALL_FAIL') {
throw $e;
}
}
$default_params = ['offset' => 0, 'limit' => null, 'timeout' => 0];