Skip to content

Commit

Permalink
Update PushMessageSender.php
Browse files Browse the repository at this point in the history
  • Loading branch information
f-israel authored Jun 26, 2023
1 parent f289614 commit de89aea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sender/PushMessageSender.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand Down

0 comments on commit de89aea

Please sign in to comment.