From c21d71b01a9fc42c3b82776863cf1ecfc4171225 Mon Sep 17 00:00:00 2001 From: Bradley Taylor Date: Fri, 22 Dec 2023 20:26:05 +0000 Subject: [PATCH] [REF][PHP8.2] Declare _lastParticipant property --- CRM/Event/Form/Registration/AdditionalParticipant.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CRM/Event/Form/Registration/AdditionalParticipant.php b/CRM/Event/Form/Registration/AdditionalParticipant.php index 81ee3e4d07..1840d1ee72 100644 --- a/CRM/Event/Form/Registration/AdditionalParticipant.php +++ b/CRM/Event/Form/Registration/AdditionalParticipant.php @@ -27,6 +27,14 @@ class CRM_Event_Form_Registration_AdditionalParticipant extends CRM_Event_Form_R */ public $additionalParticipantId = NULL; + /** + * Tracks whether we are at the last participant. + * + * @var bool + * @internal + */ + public $_lastParticipant = FALSE; + /** * Get the active UFGroups (profiles) on this form * Many forms load one or more UFGroups (profiles). -- 2.25.1