Solved Incorrect type hint for \XF\Repository\ChangeLog::addDataToLogs

This topic has been solved
D

DragonByte Tech

Guest
PHP:

Code:
    /**
     * @param \XF\Entity\ChangeLog[] $logs
     */
    public function addDataToLogs($logs)

Should be
PHP:

Code:
    /**
     * @param \XF\Entity\ChangeLog[]|\XF\Mvc\Entity\AbstractCollection $logs
     */
    public function addDataToLogs($logs)

Continue reading...