Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2017-07-26 21:36:17 +00:00 committed by StyleCI Bot
parent c26cd36b74
commit 34010fa4e6

View File

@ -455,7 +455,7 @@ trait PeerHandler
$offset = -$limit;
$filters = ['channelParticipantsBanned', 'channelParticipantsAdmins', 'channelParticipantsKicked', 'channelParticipantsBots', 'channelParticipantsRecent'];
$gres = $this->method_call('channels.getParticipants', ['channel' => $full['InputChannel'], 'filter' => ['_' => 'channelParticipantsRecent'], 'offset' => $offset += $limit, 'limit' => $limit], ['datacenter' => $this->datacenter->curdc]);
$count = $res['participants_count']+$res['kicked_count']+$res['admin_count'];
$count = $res['participants_count'] + $res['kicked_count'] + $res['admin_count'];
while (count($filters)) {
$filter = array_pop($filters);
while ($offset <= $count) {