Skip to content

Fix building TelegramException in getCommandsList()#1425

Merged
noplanman merged 2 commits intophp-telegram-bot:developfrom
mlocati-forks:patch-1
Oct 26, 2023
Merged

Fix building TelegramException in getCommandsList()#1425
noplanman merged 2 commits intophp-telegram-bot:developfrom
mlocati-forks:patch-1

Conversation

@mlocati
Copy link
Contributor

@mlocati mlocati commented Oct 24, 2023

? !
Type bug
BC Break no
Fixed issues

Summary

This fix the following TypeError:

Exception::__construct():
Argument #2 ($code) must be of type int, Exception given

This fix the following TypeError:

Exception::__construct():
Argument php-telegram-bot#2 ($code) must be of type int, Exception given
@noplanman noplanman merged commit f3cd211 into php-telegram-bot:develop Oct 26, 2023
@noplanman
Copy link
Member

Nice catch @mlocati, thanks!

@mlocati mlocati deleted the patch-1 branch October 26, 2023 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants