Apply fixes from StyleCI
This commit is contained in:
parent
9e241def53
commit
aec908c173
@ -79,10 +79,13 @@ trait UpdateHandler
|
|||||||
});
|
});
|
||||||
|
|
||||||
$time = microtime(true);
|
$time = microtime(true);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$this->get_updates_difference();
|
$this->get_updates_difference();
|
||||||
} catch (\danog\MadelineProto\RPCErrorException $e) {
|
} 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];
|
$default_params = ['offset' => 0, 'limit' => null, 'timeout' => 0];
|
||||||
|
Loading…
Reference in New Issue
Block a user