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

Xon

Well-known member
Affected version
2.2.6
\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)
 
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.
 
Top Bottom