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 5d45bb7 commit 2836925Copy full SHA for 2836925
1 file changed
src/React/Promise/Promise.php
@@ -29,7 +29,8 @@ public function then($fulfilledHandler = null, $errorHandler = null, $progressHa
29
private function call($callback)
30
{
31
try {
32
- $callback(
+ call_user_func(
33
+ $callback,
34
array($this->deferred, 'resolve'),
35
array($this->deferred, 'reject'),
36
array($this->deferred, 'progress')
0 commit comments