Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Missing USEs #47

Merged
merged 1 commit into from
Jul 9, 2021
Merged

Missing USEs #47

merged 1 commit into from
Jul 9, 2021

Conversation

daniel-lucio
Copy link
Contributor

function isUserAllowedToAddBot() has
if ($chat_member instanceof ChatMember) {

if you don't put the use, then PHP needs the full class name such as Longman\TelegramBot\Entities\ChatMember\ChatMemberOwner

function isUserAllowedToAddBot() has
 if ($chat_member instanceof ChatMember) {


if you don't put the use, then PHP needs the full class name such as Longman\TelegramBot\Entities\ChatMember\ChatMemberOwner
@noplanman
Copy link
Member

@daniel-lucio The support-bot is still using core 0.73, which doesn't have those classes yet.

They will be added correctly when I upgrade, thanks! 👍

@noplanman noplanman changed the base branch from master to develop July 9, 2021 18:13
@noplanman noplanman merged commit da3ed5e into php-telegram-bot:develop Jul 9, 2021
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.

None yet

2 participants