Fixed Incorrect type hint on \XF\Entity\Report::getTitle()

Affected version


Well-known member
\XF\Entity\Report::getTitle() has a return type hint of string but it is actually \XF\Phrase|string (wish there was a Stringable type hint for this)

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.7).

Change log:
Use correct type hint for the getTitle method in the Report entity
There may be a delay before changes are rolled out to the XenForo Community.