• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed @var for discussion definition is incorrect in XenForo_DataWriter_Discussion

Jon W

Well-known member
#1
Very small issue that ended up throwing me earlier when I was trying to extend the thread datawriter.

In XenForo_DataWriter_Discussion, this:
PHP:
    /**
    * Data about the discussion's definition.
    *
    * @var XenForo_DiscussionMessage_Definition_Abstract
    */
    protected $_discussionDefinition = null;
should read:
PHP:
    /**
    * Data about the discussion's definition.
    *
    * @var XenForo_Discussion_Definition_Abstract
    */
    protected $_discussionDefinition = null;
Thanks. :)
 

whynot

Well-known member
#2
Very small issue that ended up throwing me earlier when I was trying to extend the thread datawriter.

In XenForo_DataWriter_Discussion, this:
PHP:
    /**
    * Data about the discussion's definition.
    *
    * @var XenForo_DiscussionMessage_Definition_Abstract
    */
    protected $_discussionDefinition = null;
should read:
PHP:
    /**
    * Data about the discussion's definition.
    *
    * @var XenForo_Discussion_Definition_Abstract
    */
    protected $_discussionDefinition = null;
Thanks. :)
What's the difference?