From: eileen Date: Thu, 3 Sep 2020 04:18:36 +0000 (+1200) Subject: Remove pass-by-ref in PaypalProIPN::single X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=39edd3c66783f6fa1b33674f79877037f6a9d35f;p=civicrm-core.git Remove pass-by-ref in PaypalProIPN::single This is called from 2 places. Neither use the values again & neither receive any pass-by-reference values themselves --- diff --git a/CRM/Core/Payment/PayPalProIPN.php b/CRM/Core/Payment/PayPalProIPN.php index e5c58d3de7..024d845b42 100644 --- a/CRM/Core/Payment/PayPalProIPN.php +++ b/CRM/Core/Payment/PayPalProIPN.php @@ -321,7 +321,7 @@ class CRM_Core_Payment_PayPalProIPN extends CRM_Core_Payment_BaseIPN { * * @return void */ - public function single(&$input, &$ids, &$objects, $recur = FALSE, $first = FALSE) { + public function single($input, $ids, $objects, $recur = FALSE, $first = FALSE) { $contribution = &$objects['contribution']; // make sure the invoice is valid and matches what we have in the contribution record