Fixed Incorrect type hints in XF\Service\User\WelcomeMessage

Affected version
2.1.1

DragonByte Tech

Well-known member
PHP:
    /**
     * @var \XF\Entity\ConversationMessage
     */
    protected $sentMessage;
PHP:
    /**
     * @return null|\XF\Entity\ConversationMessage
     */
    public function getSentMessage()
These are actually \XF\Entity\ConversationMaster. That variable is set to the return value of \XF\Service\Conversation\Creator, which is an instance of \XF\Entity\ConversationMaster.
 

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue. It has now been resolved and we are aiming to include it in a future XF release (2.1.2).

Change log:
Fix incorrect type hints in welcome message service.
Any changes made as a result of this issue being resolved may not be rolled out here until later.
 
Top