Fixed getUserByNameOrEmail lacks hinted return type

Affected version
2.0 RC2

Xon

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