Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2018-03-02 18:51:01 +00:00 committed by StyleCI Bot
parent c329b4a527
commit 6610e69502

View File

@ -185,8 +185,10 @@ trait CallHandler
} catch (\danog\MadelineProto\NothingInTheSocketException $e) {
$last_error = 'Nothing in the socket';
\danog\MadelineProto\Logger::log('An error getting response of method '.$method.': '.$e->getMessage().' in '.basename($e->getFile(), '.php').' on line '.$e->getLine().'. Retrying...', \danog\MadelineProto\Logger::WARNING);
if ($res_count > 3) $this->close_and_reopen($aargs['datacenter']);
var_dump($res_count);
if ($res_count > 3) {
$this->close_and_reopen($aargs['datacenter']);
}
var_dump($res_count);
continue; //2;
}
}