Skip to content

Commit 41ed1c8

Browse files
committed
Update to support guzzlehttp/promises v2.
1 parent 1602d08 commit 41ed1c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/GuzzleAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ private function fulfillPromises(array $promises, ArrayObject $exceptions) : arr
122122
}
123123

124124
$results = new ArrayObject();
125-
Promise\each(
125+
Promise\Each::of(
126126
$this->promises,
127127
function (ResponseInterface $response, $index) use ($results) {
128128
$results[$index] = $response;

0 commit comments

Comments
 (0)