Apply fixes from StyleCI
This commit is contained in:
parent
4e4abed790
commit
246b2483a8
|
@ -352,7 +352,9 @@ trait PeerHandler
|
||||||
$res[$key] = $full['Chat'][$key];
|
$res[$key] = $full['Chat'][$key];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (isset($res['admins_enabled'])) $res['all_members_are_administrators']= $res['admins_enabled'];
|
if (isset($res['admins_enabled'])) {
|
||||||
|
$res['all_members_are_administrators'] = $res['admins_enabled'];
|
||||||
|
}
|
||||||
|
|
||||||
if (isset($full['full']['chat_photo']['sizes'])) {
|
if (isset($full['full']['chat_photo']['sizes'])) {
|
||||||
$res['photo'] = $this->photosize_to_botapi(end($full['full']['chat_photo']['sizes']), []);
|
$res['photo'] = $this->photosize_to_botapi(end($full['full']['chat_photo']['sizes']), []);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user