1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00

Composer update

This commit is contained in:
Daniel Neto 2024-07-22 22:18:13 -03:00
parent 2a8fb3aa24
commit 631ea19041
6530 changed files with 205098 additions and 319448 deletions

View file

@ -570,7 +570,7 @@ namespace Amp\Promise
$deferred = new Deferred();
$promise->onResolve(static function (\Throwable $exception = null, $result) use ($deferred, $callback) {
$promise->onResolve(static function (?\Throwable $exception, $result) use ($deferred, $callback) {
try {
$result = $callback($exception, $result);
} catch (\Throwable $exception) {