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.
2 parents 333ab4b + 74de318 commit ec444aaCopy full SHA for ec444aa
tests/Internal/RejectedPromiseTest.php
@@ -34,7 +34,7 @@ public function getPromiseTestAdapter(callable $canceller = null)
34
$promise = new RejectedPromise($reason);
35
}
36
},
37
- 'settle' => function ($reason = null) use (&$promise) {
+ 'settle' => function ($reason = "") use (&$promise) {
38
if (!$promise) {
39
if (!$reason instanceof Exception) {
40
$reason = new Exception($reason);
0 commit comments