K
Kirby
Guest
A bunch of finder methods hint
PHP:
This breaks type hinting for code like
PHP:
=>
Chould this be changed to
Continue reading...
PHP:
@return FinderThis breaks type hinting for code like
PHP:
Code:
$anAdmin = \XF::finder(UserFinder::class)
->where('is_admin', 1)
->fetchOne();
$anAdmin should be \XF\Entity\User but is reported as \XF\Mvc\Entity\EntityChould this be changed to
@return static?Continue reading...
