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

Invalid documention for user->sendMessage() #1249

Open
Blount opened this issue Aug 30, 2024 · 1 comment
Open

Invalid documention for user->sendMessage() #1249

Blount opened this issue Aug 30, 2024 · 1 comment
Labels

Comments

@Blount
Copy link

Blount commented Aug 30, 2024

Environment

  • DiscordPHP Version:
    • 10.0.0-RC8

Describe the bug

* @method ExtendedPromiseInterface<Message> sendMessage(MessageBuilder $builder)

This PHPDoc line contains a wrong method description.

Expected behavior
Just remove this line as this method is correctly described in the class.

@Blount Blount added the bug label Aug 30, 2024
@Blount Blount changed the title Invalid document for user->sendMessage() Invalid documention for user->sendMessage() Aug 30, 2024
@valzargaming
Copy link
Member

I believe this was intentional as passing a string as the message is deprecated. While still supported it is not recommended, but I do not know why this @method was never updated. I'll take a look at it later to determine what all should change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants