We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f84692 commit aef36abCopy full SHA for aef36ab
.github/workflows/unit_tests.yml
@@ -1,6 +1,5 @@
1
name: Run Unit Tests
2
on:
3
- push:
4
pull_request:
5
jobs:
6
tests:
src/ObjectStore/v1/Models/Container.php
@@ -233,7 +233,9 @@ public function createLargeObject(array $data): StorageObject
233
}
234
235
/** @var Promise $p */
236
- $p = \GuzzleHttp\Promise\all($promises);
+ $p = function_exists('\GuzzleHttp\Promise\all')
237
+ ? \GuzzleHttp\Promise\all($promises)
238
+ : \GuzzleHttp\Promise\Utils::all($promises);
239
$p->wait();
240
241
return $this->createObject([
0 commit comments