• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed getUserByNameOrEmail lacks hinted return type

Affected version
2.0 RC2


Well-known member
The XF\Repository\User::getUserByNameOrEmail method doesn't have any phpdocs, so the inferred type is an Entity rather than a User object.