Skip to content

Fixed some deprecations concerning FulfilledPromise.#75

Open
bartvanhoutte wants to merge 1 commit intoWyriHaximus:masterfrom
bartvanhoutte:feature/promise-deprecations
Open

Fixed some deprecations concerning FulfilledPromise.#75
bartvanhoutte wants to merge 1 commit intoWyriHaximus:masterfrom
bartvanhoutte:feature/promise-deprecations

Conversation

@bartvanhoutte
Copy link
Copy Markdown

No description provided.

@boring-cyborg boring-cyborg bot added PHP 🐘 Hypertext Pre Processor Source 🔮 labels Jan 31, 2022
{
if ($this->queue->count() === 0) {
return new FulfilledPromise();
return \React\Promise\resolve();
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can probably using use function React\Promise\resolve here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PHP 🐘 Hypertext Pre Processor Source 🔮

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants