From: Eileen McNaughton Date: Wed, 26 Mar 2014 21:41:15 +0000 (+1300) Subject: Alter singleton signature to match interface X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ad20a73bd10d7fea854600724a269582646895cb;p=civicrm-core.git Alter singleton signature to match interface (fix strict warning) --- 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);