[RSS Feed/News] FinderCollection Erroneously Returns Null & XF\Entity\Thread::getUserReadDate() Depends On This

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
XF\Mvc\Entity\FinderCollection extends XF\Mvc\Entity\AbstractCollection which implements ArrayAccess. This means FinderCollection should throw an exception when attempting to access non-existent keys but it just returns null instead. Since it's implementing ArrayAccess, it should behave the same way an array does when you attempt to access a key that doesn't exist...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom