Skip to content

Commit

Permalink
🎨 Update type for getEmbeds
Browse files Browse the repository at this point in the history
  • Loading branch information
Log1x committed Dec 2, 2024
1 parent 90a4ce3 commit 0f3c0f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Discord/Builders/MessageBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -331,9 +331,9 @@ public function setEmbeds(array $embeds): self
/**
* Returns all the embeds in the builder.
*
* @return Embed[]
* @return array[]|null
*/
public function getEmbeds(): array
public function getEmbeds(): ?array
{
return $this->embeds;
}
Expand Down

0 comments on commit 0f3c0f6

Please sign in to comment.