From 785354c6ce38efa2b08ecf71cd003d819d60601d Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Wed, 6 Apr 2022 16:21:05 +1200 Subject: [PATCH] Remove unnecessary pass-by-ref --- CRM/Contribute/Import/Parser/Contribution.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contribute/Import/Parser/Contribution.php b/CRM/Contribute/Import/Parser/Contribution.php index 3845ce2e5b..1d5c0cd7d2 100644 --- a/CRM/Contribute/Import/Parser/Contribution.php +++ b/CRM/Contribute/Import/Parser/Contribution.php @@ -464,7 +464,7 @@ class CRM_Contribute_Import_Parser_Contribution extends CRM_Contribute_Import_Pa * * @return int */ - public function processPledgePayments(&$formatted) { + public function processPledgePayments(array $formatted) { if (!empty($formatted['pledge_payment_id']) && !empty($formatted['pledge_id'])) { //get completed status $completeStatusID = CRM_Core_PseudoConstant::getKey('CRM_Contribute_BAO_Contribution', 'contribution_status_id', 'Completed'); -- 2.25.1