ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 33,628
- Points
- 823
Reputation:
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.XF\Entity\Thread::getUserReadDate() depends on this null return for the...Read more
Continue reading...