Skip to content

Commit

Permalink
Fixes #1273
Browse files Browse the repository at this point in the history
  • Loading branch information
valzargaming committed Jan 9, 2025
1 parent 92b4b56 commit 23d1347
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 @@ -392,7 +392,7 @@ public function setOverwrite(Part $part, Overwrite $overwrite, ?string $reason =
if (! $this->created) {
$this->attributes['permission_overwrites'][] = $payload;

return resolve();
return resolve(null);
}

$headers = [];
Expand Down
2 changes: 1 addition & 1 deletion src/Discord/Parts/WebSockets/MessageReaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function isPartial(): bool
*/
public function fetch(): PromiseInterface
{
$promise = resolve();
$promise = resolve(null);

if ($this->member === null) {
$promise = $promise
Expand Down

0 comments on commit 23d1347

Please sign in to comment.