Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2017-07-26 22:28:48 +00:00 committed by StyleCI Bot
parent 5f056d12d7
commit ac32bb6bc6

View File

@ -459,7 +459,11 @@ trait PeerHandler
try {
$gres = $this->method_call('channels.getParticipants', ['channel' => $full['InputChannel'], 'filter' => ['_' => $filter, 'q' => ''], 'offset' => $offset += $limit, 'limit' => $limit], ['datacenter' => $this->datacenter->curdc]);
} catch (\danog\MadelineProto\RPCErrorException $e) {
if ($e->rpc === 'CHAT_ADMIN_REQUIRED') continue; else throw $e;
if ($e->rpc === 'CHAT_ADMIN_REQUIRED') {
continue;
} else {
throw $e;
}
}
$count = $gres['count'];
while ($offset <= $count) {
@ -514,7 +518,6 @@ trait PeerHandler
break;
}
}
}
}
if ($fullfetch || $send) {