Skip to content

Commit

Permalink
Commandattributes options bugfix (#1284)
Browse files Browse the repository at this point in the history
* Update CommandAttributes.php

* Remove typing on getOptions
  • Loading branch information
valzargaming authored Jan 21, 2025
1 parent 1975987 commit f7f282f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Discord/Builders/CommandBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ public static function new(): self
/**
* Returns all the options in the command.
*
* @return Option[]|null
* @return CollectionInterface<Option>|Option[]|null
*/
public function getOptions(): ?array
public function getOptions()
{
return $this->options ?? null;
}
Expand Down

0 comments on commit f7f282f

Please sign in to comment.