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 984b3e6 commit 70f02e0Copy full SHA for 70f02e0
src/PromiseCore.php
@@ -216,22 +216,4 @@ public function reject(Exception $exception)
216
}
217
218
219
-
220
- /**
221
- * Call functions.
222
- *
223
- * @param callable[] $callbacks on fulfill or on reject callback queue
224
- * @param mixed $argument response or exception
225
226
- * @return mixed response or exception
227
- */
228
- private function call(array &$callbacks, $argument)
229
- {
230
- while (count($callbacks) > 0) {
231
- $callback = array_shift($callbacks);
232
- $argument = call_user_func($callback, $argument);
233
- }
234
235
- return $argument;
236
237
0 commit comments