}
if (!empty($params['send_receipt'])) {
- $result = $this->sendReceipts($params, $contributionParams['total_amount'], $customFields, $participants, $lineItem[0], $line, $value, $additionalParticipantDetails);
+ $result = $this->sendReceipts($params, $contributionParams['total_amount'], $customFields, $participants, $lineItem[0], $additionalParticipantDetails);
}
// set the participant id if it is not set
* @param array $customFields
* @param array $participants
* @param $lineItem
- * @param $line
- * @param $value
* @param $additionalParticipantDetails
*
* @return array
* @throws \CRM_Core_Exception
*/
- protected function sendReceipts($params, $total_amount, array $customFields, array $participants, $lineItem, $line, $value, $additionalParticipantDetails): array {
+ protected function sendReceipts($params, $total_amount, array $customFields, array $participants, $lineItem, $additionalParticipantDetails): array {
$sent = [];
$notSent = [];
$this->assign('module', 'Event Registration');