Alter singleton signature to match interface
authorEileen McNaughton <eileen@mcnaughty.com>
Wed, 26 Mar 2014 21:41:15 +0000 (10:41 +1300)
committerEileen McNaughton <eileen@mcnaughty.com>
Wed, 26 Mar 2014 21:41:15 +0000 (10:41 +1300)
(fix strict warning)

CRM/Core/Payment/eWAY.php

index 0db97ce50219404fb83e9476fdec1518a6328c5a..6b92461357dfe97255302692b03dd2bb61578c88 100644 (file)
@@ -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);