Skip to content

Commit 0b567a6

Browse files
authored
Merge pull request #57 from chrisryan/master
Update to support guzzlehttp/promises v2.
2 parents 1602d08 + 9fd5ff9 commit 0b567a6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/php.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-20.04
1212
strategy:
1313
matrix:
14-
php-versions: ['7.3', '7.4', '8.0', '8.1']
14+
php-versions: ['7.3', '7.4', '8.0', '8.1', '8.2']
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v2

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)