Fixed \XF\Validator\Username::setupOptionDefaults overrides visibility

PaulB

Well-known member
Affected version
2.2.12
\XF\Validator\Username::setupOptionDefaults is public, but \XF\Validator\Username::setupOptionDefaults is protected. There doesn't seem to be any need to override the visibility; the former could be protected.

This is a good candidate to resolve in 2.3.x, as resolving it is technically a breaking change, albeit a minor one.
 
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 7).

Change log:
Change method visibility for \XF\Validator\Username::setupOptionDefaults to protected
There may be a delay before changes are rolled out to the XenForo Community.
 
Top Bottom