From ad20a73bd10d7fea854600724a269582646895cb Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Thu, 27 Mar 2014 10:41:15 +1300 Subject: [PATCH] Alter singleton signature to match interface (fix strict warning) --- CRM/Core/Payment/eWAY.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/Payment/eWAY.php b/CRM/Core/Payment/eWAY.php index 0db97ce502..6b92461357 100644 --- a/CRM/Core/Payment/eWAY.php +++ b/CRM/Core/Payment/eWAY.php @@ -130,7 +130,7 @@ class CRM_Core_Payment_eWAY extends CRM_Core_Payment { * @static * */ - static function &singleton($mode, &$paymentProcessor) { + static function &singleton($mode, &$paymentProcessor, &$paymentForm = NULL, $force = false) { $processorName = $paymentProcessor['name']; if (self::$_singleton[$processorName] === NULL) { self::$_singleton[$processorName] = new CRM_Core_Payment_eWAY($mode, $paymentProcessor); -- 2.25.1