Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2017-04-06 20:16:20 +00:00 committed by StyleCI Bot
parent 4e4abed790
commit 246b2483a8

View File

@ -352,7 +352,9 @@ trait PeerHandler
$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'])) {
$res['photo'] = $this->photosize_to_botapi(end($full['full']['chat_photo']['sizes']), []);