Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit af90abc

Browse files
committed
Add throws directive for phpdoc
1 parent 2421ded commit af90abc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Telegram/Types/Message.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,9 @@ protected function mapSubObjects(string $key, array $data): TelegramTypes
423423
* Decode style entities from Telegram bot messages in text with inline entities.
424424
*
425425
* @param string $style Use 'HTML', 'MarkdownV2' or 'Markdown'
426+
*
427+
* @throws InvalidArgumentException if the provided style name is invalid.
428+
*
426429
* @return string
427430
*/
428431
public function decodeEntities($style = 'HTML'): string

0 commit comments

Comments
 (0)