mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Composer update
This commit is contained in:
parent
2a8fb3aa24
commit
631ea19041
6530 changed files with 205098 additions and 319448 deletions
2
vendor/amphp/amp/lib/functions.php
vendored
2
vendor/amphp/amp/lib/functions.php
vendored
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue