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

Status
This content is read-only, or is not open for further replies.

DragonByte Tech

Guest
offline
The docblock hints int for $contentId where it should be int[]|int or array|int:
PHP:

Code:
    /**
     * @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.

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom