[REF][PHP8.2] Declare missing properties on CRM_Event_Form_Registration_AdditionalPar...
authorBradley Taylor <hello@brad-taylor.co.uk>
Sat, 30 Dec 2023 18:17:50 +0000 (18:17 +0000)
committerBradley Taylor <hello@brad-taylor.co.uk>
Sat, 30 Dec 2023 18:17:50 +0000 (18:17 +0000)
CRM/Event/Form/Registration/AdditionalParticipant.php

index 81ee3e4d0738828ae268eeecdbd652857b07168e..42ce74894639f257325e3c65c89f20b5624817a2 100644 (file)
 class CRM_Event_Form_Registration_AdditionalParticipant extends CRM_Event_Form_Registration {
 
   /**
-   * Pre-registered additional participant id.
+   * Additional participant id.
+   *
+   * @var int
+   * @internal
+   */
+  public $_additionalParticipantId = NULL;
+
+  /**
+   * Tracks whether we are at the last participant.
+   *
+   * @var bool
+   * @internal
+   */
+  public $_lastParticipant = FALSE;
+
+  /**
+   * @var bool
+   * @internal
+   */
+  public $_resetAllowWaitlist = FALSE;
+
+  /**
+   * @var int
+   * @internal
+   */
+  public $_contactId;
+
+  /**
+   * Used within CRM_Event_Form_EventFees
+   *
+   * @var int
+   * @internal
+   */
+  public $_discountId;
+
+  /**
+   * Alias of $this->_additionalParticipantId,
+   * Used within CRM_Event_Form_EventFees
+   *
    * @var int
+   * @internal
    */
-  public $additionalParticipantId = NULL;
+  public $_pId;
 
   /**
    * Get the active UFGroups (profiles) on this form