\XF\Navigation\NodeType is hard to extend

Status
This content is read-only, or is not open for further replies.

Kirby

Guest
offline
\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?

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom