diff --git a/src/Sender/PushMessageSender.php b/src/Sender/PushMessageSender.php index c98478b..d64feff 100644 --- a/src/Sender/PushMessageSender.php +++ b/src/Sender/PushMessageSender.php @@ -104,7 +104,7 @@ public function push(PushMessage $message, iterable $subscriptions): iterable ; } - $promise = Promise\settle($promises) + $promise = Promise\Utils::settle($promises) ->then(function ($results) { foreach ($results as $subscriptionHash => $promise) { yield $subscriptionHash => $promise['value'] ?? $promise['reason'];