Skip to content

Commit

Permalink
getFlags(): ?int
Browse files Browse the repository at this point in the history
Co-authored-by: SQKo <[email protected]>
  • Loading branch information
valzargaming and SQKo authored Feb 25, 2025
1 parent cd5b233 commit 9dd7539
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Discord/Builders/MessageBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -641,11 +641,11 @@ public function setFlags(int $flags): self
/**
* Get the current flags of the message.
*
* @return int
* @return ?int
*/
public function getFlags(): int
public function getFlags(): ?int
{
return $this->flags;
return $this->flags ?? null;
}

/**
Expand Down

0 comments on commit 9dd7539

Please sign in to comment.