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 b7692e5 commit ffa9a90Copy full SHA for ffa9a90
1 file changed
src/React/Promise/Promise.php
@@ -6,7 +6,7 @@ class Promise implements PromiseInterface
6
{
7
private $deferred;
8
9
- public function __construct($resolver, $canceller = null)
+ public function __construct($resolver)
10
11
if (!is_callable($resolver)) {
12
throw new \InvalidArgumentException(
0 commit comments