Fixed \XF\Navigation\NodeType is hard to extend


Well-known member
Affected version
\XF\Navigation\NodeType uses self instead of static everywhere, this makes it kinda difficulet to create a child class with slightly different functionality without (needlessly) duplicating a lot of code.

Unless there is a compelling reason not to do this:
Could this be changed to static?
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.3.0 Beta 6).

Change log:
Use static instead of self in NodeType handler for navigation
There may be a delay before changes are rolled out to the XenForo Community.
Top Bottom