CRM-21482 follow up notice fix - sync function signatures on getCurrency
authoreileen <emcnaughton@wikimedia.org>
Thu, 30 Nov 2017 05:22:30 +0000 (18:22 +1300)
committereileen <emcnaughton@wikimedia.org>
Thu, 30 Nov 2017 05:22:30 +0000 (18:22 +1300)
CRM/Financial/Form/Payment.php

index ba9412b4d789fcd5b1e918a5ca1e264b0a1bbecf..b5d2c2206611d6e337db1ba7f36e2c449e0116a1 100644 (file)
@@ -82,9 +82,14 @@ class CRM_Financial_Form_Payment extends CRM_Core_Form {
   }
 
   /**
+   * Get currency
+   *
+   * @param array $submittedValues
+   *   Required for consistency with other form methods.
+   *
    * @return string
    */
-  public function getCurrency() {
+  public function getCurrency($submittedValues = array()) {
     return $this->currency;
   }