discord-php / DiscordPHP

An API to interact with the popular messaging app Discord
MIT License
977 stars 236 forks source link

Existing instances of resolve() and reject() needed to be updated to match the new templates of `resolve(T $value): PromiseInterface<T>` and `reject(Throwable $reason): PromiseInterface<never>` #1151

Open valzargaming opened 1 year ago

valzargaming commented 1 year ago

$deferred->reject(); was the only instance I could immediately find