diff --git a/CHANGELOG.md b/CHANGELOG.md index 24acbe10..057fa6fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ All Notable changes to `PHP Telegram Bot Api` will be documented in this file - Rename `thumb_*` to `thumbnail_*` parameter in `Inline/QueryResult` types - Add missing phpDoc for `$replyMarkup` parameters - Fix phpDoc for `\TelegramBot\Api\BotApi::setWebhook` `$allowedUpdates` parameter. Automatically serialize if array passed +- Fix phpDoc for `\TelegramBot\Api\Types\Message::$newChatMembers` ### Deprecated - Deprecate using `thumb*` methods in `\TelegramBot\Api\BotApi` diff --git a/src/Types/Message.php b/src/Types/Message.php index abd6adad..c344bfd5 100644 --- a/src/Types/Message.php +++ b/src/Types/Message.php @@ -308,7 +308,7 @@ class Message extends BaseType implements TypeInterface * (the bot itself may be one of these members) * array of \TelegramBot\Api\Types\User * - * @var array|null + * @var \TelegramBot\Api\Types\User[]|null */ protected $newChatMembers; @@ -1003,7 +1003,7 @@ public function setDice(Dice $dice) } /** - * @return array|null + * @return \TelegramBot\Api\Types\User[]|null */ public function getNewChatMembers() { @@ -1011,7 +1011,7 @@ public function getNewChatMembers() } /** - * @param array $newChatMembers + * @param \TelegramBot\Api\Types\User[]|null $newChatMembers * @return void */ public function setNewChatMembers($newChatMembers)