Clarify doc-block of for form variable
authorEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 11 Aug 2023 06:32:33 +0000 (18:32 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 11 Aug 2023 06:32:33 +0000 (18:32 +1200)
CRM/Event/Form/Registration.php

index ebde060eb3b352ec30687461524377f0852b88f4..97902a4174a12850f55a93e92242a7e9e4e55a96 100644 (file)
@@ -566,12 +566,12 @@ class CRM_Event_Form_Registration extends CRM_Core_Form {
   /**
    * Initiate event fee.
    *
-   * @param CRM_Core_Form $form
+   * @param \CRM_Event_Form_Participant|\CRM_Event_Form_Registration|\CRM_Event_Form_ParticipantFeeSelection|\CRM_Event_Form_Task_Register $form
    * @param int $eventID
    * @param bool $doNotIncludeExpiredFields
    *   See CRM-16456.
    *
-   * @throws Exception
+   * @throws \CRM_Core_Exception
    */
   public static function initEventFee(&$form, $eventID, $doNotIncludeExpiredFields = TRUE) {
     // get price info