code cleanup
[civicrm-core.git] / CRM / Event / Form / Registration.php
index ee8791049c7a61f860ce875bcc58b77f45f3e4f5..d5afd4e341737fa46de05ae4f1de47065bbbd969 100644 (file)
@@ -826,10 +826,9 @@ class CRM_Event_Form_Registration extends CRM_Core_Form {
   /**
    * Process the participant
    *
-   * @param array $params
+   * @param CRM_Core_Form $form
    * @param int $contactID
-   *
-   * @return void
+   * @return \CRM_Event_BAO_Participant
    */
   public static function addParticipant(&$form, $contactID) {
     if (empty($form->_params)) {