Skip to content

Commit

Permalink
Merge pull request #23110 from eileenmcnaughton/silly2
Browse files Browse the repository at this point in the history
Remove unnecessary pass-by-ref
  • Loading branch information
colemanw authored Apr 6, 2022
2 parents 29fb5af + 785354c commit 9499ead
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Contribute/Import/Parser/Contribution.php
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ public function import($onDuplicate, &$values) {
*
* @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');
Expand Down

0 comments on commit 9499ead

Please sign in to comment.