Merge pull request #22850 from ixiam/dev_Issue#3080
[civicrm-core.git] / CRM / Event / Form / SelfSvcTransfer.php
index 1cac955aae14e7458b4c9eb212e3394898549ff7..a6db5abdd92a08d20af067b0b352ca46f02745d4 100644 (file)
@@ -342,7 +342,7 @@ class CRM_Event_Form_SelfSvcTransfer extends CRM_Core_Form {
   /**
    * Based on input, create participant row for transferee and send email
    *
-   * @param $participant
+   * @param CRM_Event_BAO_Participant $participant
    *
    * @throws \API_Exception
    * @throws \CRM_Core_Exception
@@ -372,6 +372,7 @@ class CRM_Event_Form_SelfSvcTransfer extends CRM_Core_Form {
     $eventDetails = [];
     $eventParams = ['id' => $participant->event_id];
     CRM_Event_BAO_Event::retrieve($eventParams, $eventDetails);
+
     //get default participant role.
     $eventDetails['participant_role'] = $participantRoles[$eventDetails['default_role_id']] ?? NULL;
     //get the location info