Fixed XF\FindNew\filterResults takes ArrayCollection instead of AbstractCollection


Well-known member
Affected version
XF\FindNew\filterResults::filterResults has requires the input argument \XF\Mvc\Entity\ArrayCollection but doesn't directly use any specific ArrayCollection features and could operate on AbstractCollection
Related; but XF\Mvc\Entity\Finder::fetch() is type hinted to return an ArrayCollection, converting this to a AbstractCollection return type hint will likely shake out other too specific type hints

XF Bug Bot

XenForo bug fixer bot
Staff member
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.0 Beta 4).

Change log:
Switch filterResults input to be an AbstractCollection, rather than an ArrayCollection
There may be a delay before changes are rolled out to the XenForo Community.