Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2017-03-26 17:30:22 +00:00 committed by StyleCI Bot
parent 87a5152927
commit 4d6725a64a

View File

@ -70,6 +70,7 @@ trait BotAPIFiles
$photo['location']['id'] = isset($message_media['id']) ? $message_media['id'] : 0;
$photo['location']['_'] = $thumbnail ? 'bot_thumbnail' : 'bot_photo';
$data = $this->serialize_object(['type' => 'File'], $photo['location']).chr(2);
return [
'file_id' => $this->base64url_encode($this->rle_encode($data)),
'width' => $photo['w'],