Fixed 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.
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.3.8).

Change log:
Update docblock hint on \XF\Repository\UserAlertRepository::fastDeleteAlertsForContent to include array of ints
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom