This PR makes improvements to the internals of JUri to make it easier to extend the class.
What's Changed?
References to self:: changed to static:: which improves support for class calls in extended classes, as well as the new JUri call changed to new static in getInstance() to allow the method to create an instance of a child object.
Testing Instructions
Just make sure things still work. If you're feeling brave, create a class extending JUri and make sure the behaviors with the static calls work as you would expect in the extended class.
@test
With Patch applied everything still functions as it should.
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7021.