Fixed \XF::extendClass type hinting doesn't match \XF\Extension::extendClass


Well-known member
Affected version
\XF\Extension::extendClass has had very nice phpdoc type-hinting which allows the return-type to be linked to the arguments being passed into it. However the aliases to the extendClass function in \XF::extendClass and \XF\SubContainer\AbstractSubContainer wheren't updated.
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.14).

Change log:
Fix type hinting for extendClass
There may be a delay before changes are rolled out to the XenForo Community.
Top Bottom