Skip to content

Commit

Permalink
Fix typo in Thread
Browse files Browse the repository at this point in the history
  • Loading branch information
valzargaming committed Nov 20, 2024
1 parent 21a8001 commit ea4d818
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Discord/Parts/Thread/Thread.php
Original file line number Diff line number Diff line change
Expand Up @@ -546,11 +546,11 @@ public function deleteMessages($messages, ?string $reason = null): PromiseInterf
* @param string|Message|null $options['after'] Get messages after this message ID.
* @param int|null $options['limit'] Max number of messages to return (1-100). Defaults to 50.
*
* @return PromiseInterface<Collection<Message[]>
* @return PromiseInterface<Collection<Message[]>>
*
* @todo Make it in a trait along with Channel
*/
public function getMessageHistory(array $options = []): Promise
public function getMessageHistory(array $options = []): PromiseInterface
{
$resolver = new OptionsResolver();
$resolver
Expand Down

0 comments on commit ea4d818

Please sign in to comment.