Skip to content

Commit

Permalink
Fix incorrect return type in doc block
Browse files Browse the repository at this point in the history
  • Loading branch information
valzargaming committed Nov 20, 2024
1 parent 3cd3581 commit af46f1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Discord/Parts/Channel/Channel.php
Original file line number Diff line number Diff line change
Expand Up @@ -1267,7 +1267,7 @@ public function broadcastTyping(): PromiseInterface
* @param int $options['time'] Time in milliseconds until the collector finishes or false.
* @param int $options['limit'] The amount of messages allowed or false.
*
* @return PromiseInterface<Collection<Message>>
* @return PromiseInterface<Collection<Message[]>>
*/
public function createMessageCollector(callable $filter, array $options = []): PromiseInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/Discord/Parts/Thread/Thread.php
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ public function broadcastTyping(): PromiseInterface
* @param int $options ['time'] Time in milliseconds until the collector finishes or false.
* @param int $options ['limit'] The amount of messages allowed or false.
*
* @return PromiseInterface<Collection<Message>>
* @return PromiseInterface<Collection<Message[]>>
*
* @todo Make it in a trait along with Channel
*/
Expand Down

0 comments on commit af46f1b

Please sign in to comment.