Skip to content
Snippets Groups Projects
Commit cfce34d9 authored by mattwire's avatar mattwire
Browse files

Change doRefund signature to match what is in CiviCRM core

parent d1aab466
Branches
Tags
No related merge requests found
......@@ -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])) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment