* The array of contact details to send the email.
* @param string $subject
* The subject of the message.
- * @param $text
- * @param $html
+ * @param string|null $text
+ * @param string|null $html
* @param string $emailAddress
* Use this 'to' email address instead of the default Primary address.
* @param int|null $userID
*
* @param int $toID
* The contact id of the recipient.
- * @param $tokenText
+ * @param string $tokenText
* @param array $smsProviderParams
* The params used for sending sms.
* @param int $activityID
* The contact id of the recipient.
* @param string $subject
* The subject of the message.
- * @param $text_message
- * @param $html_message
+ * @param string|null $text_message
+ * @param string|null $html_message
* @param string $emailAddress
* Use this 'to' email address instead of the default Primary address.
* @param int $activityID
/**
* Get all prior activities of currently viewed activity.
*
- * @param $activityID
+ * @param int $activityID
* Current activity id.
* @param bool $onlyPriorRevisions
*
* @see https://issues.civicrm.org/jira/browse/CRM-12814
* Get opened count for each mailing for a given set of mailing IDs
*
- * @param $mailingIDs
+ * @param int[] $mailingIDs
*
* @return array
* Opened count per mailing ID