From af46f1b7c8c9bd15aa99e3476cd8dac2ae1a9af5 Mon Sep 17 00:00:00 2001 From: Valithor Obsidion Date: Wed, 20 Nov 2024 11:09:47 -0500 Subject: [PATCH] Fix incorrect return type in doc block --- src/Discord/Parts/Channel/Channel.php | 2 +- src/Discord/Parts/Thread/Thread.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Discord/Parts/Channel/Channel.php b/src/Discord/Parts/Channel/Channel.php index e5a75f3eb..d9a548b85 100644 --- a/src/Discord/Parts/Channel/Channel.php +++ b/src/Discord/Parts/Channel/Channel.php @@ -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> + * @return PromiseInterface> */ public function createMessageCollector(callable $filter, array $options = []): PromiseInterface { diff --git a/src/Discord/Parts/Thread/Thread.php b/src/Discord/Parts/Thread/Thread.php index c302cf2be..044d5e605 100644 --- a/src/Discord/Parts/Thread/Thread.php +++ b/src/Discord/Parts/Thread/Thread.php @@ -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> + * @return PromiseInterface> * * @todo Make it in a trait along with Channel */