Incorrect docblock hint for \XF\Repository\UserAlertRepository::fastDeleteAlertsForContent

DragonByte Tech

Well-known member
Affected version
2.3.7
The docblock hints int for $contentId where it should be int[]|int or array|int:
PHP:
    /**
     * @param string $contentType
     * @param int $contentId
     */
    public function fastDeleteAlertsForContent($contentType, $contentId)

As the finder method will produce a valid (and desired) query if $contentId is an array of integers.
 
Back
Top Bottom