Skip to content

Commit

Permalink
Fix default class string for options resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
valzargaming committed Dec 24, 2024
1 parent 97f2f17 commit d2a8905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Discord/Discord.php
Original file line number Diff line number Diff line change
Expand Up @@ -1433,7 +1433,7 @@ protected function resolveOptions(array $options = []): array
'intents' => Intents::getDefaultIntents(),
'socket_options' => [],
'cache' => [AbstractRepository::class => null], // use LegacyCacheWrapper
'collection' => [Collection::class => null],
'collection' => Collection::class,
])
->setAllowedTypes('token', 'string')
->setAllowedTypes('logger', ['null', LoggerInterface::class])
Expand Down

0 comments on commit d2a8905

Please sign in to comment.