Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2018-04-01 17:23:39 +00:00 committed by StyleCI Bot
parent 588aea5c8e
commit caaffb60f1
2 changed files with 2 additions and 2 deletions

View File

@ -145,7 +145,7 @@ trait CallHandler
$only_updates = false;
$response_tries = $this->settings['max_tries']['response'] + 1;
if ($last_recv) {
$response_tries += (int) floor((time() - $last_recv)/10);
$response_tries += (int) floor((time() - $last_recv) / 10);
}
while ($server_answer === null && $res_count++ < $response_tries) {
// Loop until we get a response, loop for a max of $this->settings['max_tries']['response'] times

View File

@ -357,7 +357,7 @@ trait UpdateHandler
try {
$data = $this->method_call('updates.getState', [], ['datacenter' => $this->settings['connection_settings']['default_dc']]);
$this->get_cdn_config( $this->settings['connection_settings']['default_dc']);
$this->get_cdn_config($this->settings['connection_settings']['default_dc']);
} finally {
$this->updates_state['sync_loading'] = $last;
}