Apply fixes from StyleCI
This commit is contained in:
parent
afb15deb9e
commit
bfdf38b6d1
@ -75,7 +75,7 @@ trait MessageHandler
|
||||
$this->method_call('http_wait', ['max_wait' => 500, 'wait_after' => 150, 'max_delay' => 500], ['datacenter' => $datacenter]);
|
||||
} else {
|
||||
$this->method_call('ping', ['ping_id' => 0], ['datacenter' => $datacenter]);
|
||||
}
|
||||
}
|
||||
}
|
||||
$payload = $this->datacenter->sockets[$datacenter]->read_message();
|
||||
if (strlen($payload) === 4) {
|
||||
|
@ -361,7 +361,7 @@ trait ResponseHandler
|
||||
|
||||
throw new \danog\MadelineProto\Exception('Re-executing query...');
|
||||
}
|
||||
|
||||
|
||||
default:
|
||||
throw new \danog\MadelineProto\RPCErrorException($server_answer['error_message'], $server_answer['error_code']);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user