From cfce34d903eb8dfdbd0da40eca339e46ae7abbb8 Mon Sep 17 00:00:00 2001 From: "Matthew Wire (MJW Consulting)" <mjw@mjwconsult.co.uk> Date: Thu, 31 Oct 2019 19:10:11 +0000 Subject: [PATCH] Change doRefund signature to match what is in CiviCRM core --- CRM/Core/Payment/Stripe.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/Payment/Stripe.php b/CRM/Core/Payment/Stripe.php index 44d0adaf..eaa1cb8f 100644 --- a/CRM/Core/Payment/Stripe.php +++ b/CRM/Core/Payment/Stripe.php @@ -702,7 +702,7 @@ class CRM_Core_Payment_Stripe extends CRM_Core_Payment { * @return array * @throws \Civi\Payment\Exception\PaymentProcessorException */ - public function doRefund($params) { + public function doRefund(&$params) { $requiredParams = ['trxn_id', 'amount']; foreach ($requiredParams as $required) { if (!isset($params[$required])) { -- GitLab