Listener.php
/**
     * @param UserContentChangeSvc $changeService
     * @param array                updates
     */
@param UserContentChangeSvc $changeService
@param array                updates
@param UserContentChangeSvc $changeService @param array updates
public static function userContentChangeInit(UserContentChangeSvc $changeService, array &$updates)
    {
        $updates['xf_rm_resource_update'] = ['user_id', 'username'];
        $updates['xf_rm_resource_version'] = ['user_id', 'username'];
    }
public static function userContentChangeInit ( UserContentChangeSvc $ changeService , array & $ updates ) { $ updates [ 'xf_rm_resource_update' ] = [ 'user_id' , 'username' ] ; $ updates [ 'xf_rm_resource_version' ] = [ 'user_id' , 'username' ] ; }
@param UserContentChangeSvc $changeService
 @param array                updates
@param UserContentChangeSvc $changeService @param array updates