Skip to content

Commit ffa9a90

Browse files
committed
Remove unused $canceller argument
1 parent b7692e5 commit ffa9a90

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/React/Promise/Promise.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class Promise implements PromiseInterface
66
{
77
private $deferred;
88

9-
public function __construct($resolver, $canceller = null)
9+
public function __construct($resolver)
1010
{
1111
if (!is_callable($resolver)) {
1212
throw new \InvalidArgumentException(

0 commit comments

Comments
 (0)