diff --git a/src/messenger/webim/libs/classes/request_processor.php b/src/messenger/webim/libs/classes/request_processor.php index 02febd72..28cbdacf 100644 --- a/src/messenger/webim/libs/classes/request_processor.php +++ b/src/messenger/webim/libs/classes/request_processor.php @@ -453,6 +453,10 @@ abstract class RequestProcessor { /** * Stores callback function * + * Callback is an associative array with following keys + * - 'function': function name to call + * - 'arguments': additional arguments, that passed to the callback function + * * @param string $token Request token * @param array $callback Callback function array */ @@ -461,6 +465,10 @@ abstract class RequestProcessor { /** * Loads callback function * + * Callback is an associative array with following keys + * - 'function': function name to call + * - 'arguments': additional arguments, that passed to the callback function + * * @param string $token Token of the request related to callback function * @return mixed callback function array or null if callback function not exists */