Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix building TelegramException in getCommandsList() #1425

Merged
merged 2 commits into from
Oct 26, 2023

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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants