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 d478c2e commit 6c69ee5Copy full SHA for 6c69ee5
1 file changed
src/React/Promise/Deferred.php
@@ -118,15 +118,12 @@ public function resolver()
118
protected function processQueue($queue, $value)
119
{
120
foreach ($queue as $handler) {
121
- $this->executeCallback($handler, $value);
+ $this->executeCallback($handler, array($value));
122
}
123
124
125
- protected function executeCallback($callback/*, $args ... */)
+ protected function executeCallback($callback, array $args = array())
126
127
- $args = func_get_args();
128
- array_shift($args);
129
-
130
call_user_func_array($callback, $args);
131
132
0 commit comments