Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2018-03-01 01:01:55 +00:00 committed by StyleCI Bot
parent 79f42f31e5
commit 01c02d5c12

View File

@ -106,7 +106,7 @@ trait CallHandler
$this->send_unencrypted_message($serialized, $message_id = isset($aargs['message_id']) ? $aargs['message_id'] : $this->generate_message_id($aargs['datacenter']), $aargs['datacenter']);
$aargs['message_id'] = $message_id;
}
if ($this->is_http($aargs['datacenter']) && isset($aargs['reopen'])) {
\danog\MadelineProto\Logger::log(['Closing and reopening connection...'], \danog\MadelineProto\Logger::WARNING);
$this->close_and_reopen($aargs['datacenter']);