diff --git a/src/messenger/webim/libs/classes/event_dispatcher.php b/src/messenger/webim/libs/classes/event_dispatcher.php index 2af30e0b..913a3a25 100644 --- a/src/messenger/webim/libs/classes/event_dispatcher.php +++ b/src/messenger/webim/libs/classes/event_dispatcher.php @@ -60,6 +60,8 @@ Class EventDispatcher { /** * Attaches listener function to event. * + * All event listeners must receive one argument of array type by reference. + * * @param string $event_name Event's name * @param Plugin $plugin Plugin object, that handles the event * @param string $listener Plugins method, that handles the event