Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2017-05-27 23:36:12 +00:00 committed by StyleCI Bot
parent 4ea3b83ae1
commit 8cf425bd82

View File

@ -236,7 +236,9 @@ trait UpdateHandler
while (!isset($difference)) {
try {
$difference = $this->method_call('updates.getDifference', ['pts' => $this->get_update_state()['pts'], 'date' => $this->get_update_state()['date'], 'qts' => $this->get_update_state()['qts']], ['datacenter' => $this->datacenter->curdc]);
} catch (\danog\MadelineProto\PTSException $e) { $this->got_state = false; }
} catch (\danog\MadelineProto\PTSException $e) {
$this->got_state = false;
}
}
\danog\MadelineProto\Logger::log(['Got '.$difference['_']], \danog\MadelineProto\Logger::ULTRA_VERBOSE);
$this->get_update_state()['sync_loading'] = false;