Merge pull request #15955 from JMAConsulting/core-1420
[civicrm-core.git] / CRM / Core / Payment / eWAY.php
index 97359f040cd5c514ba1313ef0982b0b484b54394..8f198b46c82483316aab9c4c28be5fcbbd42e14c 100644 (file)
@@ -99,7 +99,7 @@ require_once 'eWAY/eWAY_GatewayResponse.php';
  * Class CRM_Core_Payment_eWAY.
  */
 class CRM_Core_Payment_eWAY extends CRM_Core_Payment {
-  # (not used, implicit in the API, might need to convert?)
+  // (not used, implicit in the API, might need to convert?)
   const CHARSET = 'UTF-8';
 
   /**
@@ -410,6 +410,7 @@ class CRM_Core_Payment_eWAY extends CRM_Core_Payment {
 
     return $params;
   }
+
   // end function doDirectPayment
 
   /**
@@ -465,7 +466,7 @@ class CRM_Core_Payment_eWAY extends CRM_Core_Payment {
    * *****************************************************************************************
    */
   public function checkConfig() {
-    $errorMsg = array();
+    $errorMsg = [];
 
     if (empty($this->_paymentProcessor['user_name'])) {
       $errorMsg[] = ts('eWAY CustomerID is not set for this payment processor');