Skip to content

Commit

Permalink
Remove unnecessary pass-by-ref
Browse files Browse the repository at this point in the history
  • Loading branch information
eileenmcnaughton committed Apr 6, 2022
1 parent 66a5e28 commit 785354c
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 @@ -464,7 +464,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 785354c

Please sign in to comment.