From cca423284e4bf27ec4b31b5d9bb8ba099c848204 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Mon, 15 May 2023 13:14:56 +1200 Subject: [PATCH] Make some internal functions protected I did a universe search to be sure but these 'belong' to the form --- CRM/Event/Form/Participant.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CRM/Event/Form/Participant.php b/CRM/Event/Form/Participant.php index f019325aba..982637e4dd 100644 --- a/CRM/Event/Form/Participant.php +++ b/CRM/Event/Form/Participant.php @@ -234,7 +234,7 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment * * @return array */ - public function getCreatePaymentParams(): array { + protected function getCreatePaymentParams(): array { return $this->createPaymentParams; } @@ -243,7 +243,7 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment * * @param array $createPaymentParams */ - public function setCreatePaymentParams(array $createPaymentParams) { + protected function setCreatePaymentParams(array $createPaymentParams): void { $this->createPaymentParams = $createPaymentParams; } @@ -1729,7 +1729,7 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment * * @throws \CRM_Core_Exception */ - public function processContribution( + protected function processContribution( &$form, $params, $result, $contactID, $pending = FALSE, $paymentProcessor = NULL -- 2.25.1