style fix
authordeb.monish <monish.deb@webaccessglobal.com>
Thu, 3 Nov 2016 12:02:49 +0000 (17:32 +0530)
committerdeb.monish <monish.deb@webaccessglobal.com>
Thu, 3 Nov 2016 12:02:49 +0000 (17:32 +0530)
CRM/Core/Payment/AuthorizeNet.php

index f264ae83fde64bfb85c616b6f3c6575984eeec66..f365683550fd7c2b462c1be5d8d968ba99a130d9 100644 (file)
@@ -181,15 +181,15 @@ class CRM_Core_Payment_AuthorizeNet extends CRM_Core_Payment {
     // TODO:
     // AVS, CVV2, CAVV, and other verification results
     switch ($response_fields[0]) {
-      case self::AUTH_REVIEW :
+      case self::AUTH_REVIEW:
         $params['payment_status_id'] = array_search('Pending', $contributionStatus);
         break;
 
-      case self::AUTH_ERROR :
+      case self::AUTH_ERROR:
         $params['payment_status_id'] = array_search('Failed', $contributionStatus);
         break;
 
-      case self::AUTH_DECLINED :
+      case self::AUTH_DECLINED:
         $errormsg = $response_fields[2] . ' ' . $response_fields[3];
         return self::error($response_fields[1], $errormsg);