You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function GuzzleHttp\Promise\Promise::resolve(), 0 passed
but it's very useful for just resolve the promise without returning the value.
For ReactPHP and nodejs, we can omit the resolve value and just resolve the promise directly.
The text was updated successfully, but these errors were encountered:
yes, but I have to input null for that argument. but its common for other Promise makers design that just resolving with null by default. In most cases, we just want to resolve the promise as the job is completed. but no value needs to be returned.
the thenable cannot omit the value for resolve().
but it's very useful for just resolve the promise without returning the value.
For ReactPHP and nodejs, we can omit the resolve value and just resolve the promise directly.
The text was updated successfully, but these errors were encountered: