XF 2.2 XF\FindNew\AbstractHandler->filterResults BC break - 2.2 Beta 4

Kier

XenForo developer
Staff member
Please note that we will be changing the signature of \XF\FindNew\AbstractHandler->filterResults to take an AbstractCollection instead of an ArrayCollection as follows:

Old:
PHP:
protected function filterResults(\XF\Mvc\Entity\ArrayCollection $results)
New:
PHP:
protected function filterResults(\XF\Mvc\Entity\AbstractCollection $results)

To work with this, \XF\Entity\Finder->fetch now also returns an AbstractCollection.

This change breaks backward compatibility, hence the notice here.
 
Top Bottom