Apply fixes from StyleCI
This commit is contained in:
parent
8a88dc8650
commit
af0cf569db
@ -430,7 +430,9 @@ trait PeerHandler
|
|||||||
$res['participants'][$key] = $newres;
|
$res['participants'][$key] = $newres;
|
||||||
}
|
}
|
||||||
$gres = $this->method_call('channels.getParticipants', ['channel' => $full['InputChannel'], 'filter' => ['_' => 'channelParticipantsRecent'], 'offset' => $offset += $limit, 'limit' => $limit]);
|
$gres = $this->method_call('channels.getParticipants', ['channel' => $full['InputChannel'], 'filter' => ['_' => 'channelParticipantsRecent'], 'offset' => $offset += $limit, 'limit' => $limit]);
|
||||||
if (empty($gres['participants'])) break;
|
if (empty($gres['participants'])) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($fullfetch || $send) {
|
if ($fullfetch || $send) {
|
||||||
|
@ -451,11 +451,11 @@ trait UpdateHandler
|
|||||||
}
|
}
|
||||||
if ($channel === false) {
|
if ($channel === false) {
|
||||||
foreach ($updates as $update) {
|
foreach ($updates as $update) {
|
||||||
$this->handle_update($update, $options);
|
$this->handle_update($update, $options);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
foreach ($updates as $update) {
|
foreach ($updates as $update) {
|
||||||
$this->handle_update($update);
|
$this->handle_update($update);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user