Skip to content

Commit

Permalink
🎨 Remove unnecessary docblocks in autocomplete examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Log1x committed Jun 26, 2024
1 parent 3be2225 commit 82699b2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions content/docs/slash-commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,6 @@ public function autocomplete(): array
By default, Laracord will automatically handle creating slug values out of passed options. To control the label and value yourself, you may pass them using key value pairs:

```php
/**
* Set the autocomplete choices.
*/
public function autocomplete(): array
{
return [
Expand All @@ -218,9 +215,6 @@ For dynamic autocomplete choices, you may pass a callback instead consisting of
```php
use Discord\Parts\Interactions\Interaction;

/**
* Set the autocomplete choices.
*/
public function autocomplete(): array
{
return [
Expand Down

0 comments on commit 82699b2

Please sign in to comment.