Skip to content

Commit

Permalink
Fix Message::newChatMembers phpDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
BoShurik committed Aug 9, 2023
1 parent a829ef4 commit 56343e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Types/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -1003,15 +1003,15 @@ public function setDice(Dice $dice)
}

/**
* @return array|null
* @return \TelegramBot\Api\Types\User[]|null
*/
public function getNewChatMembers()
{
return $this->newChatMembers;
}

/**
* @param array $newChatMembers
* @param \TelegramBot\Api\Types\User[]|null $newChatMembers
* @return void
*/
public function setNewChatMembers($newChatMembers)
Expand Down

0 comments on commit 56343e1

Please sign in to comment.