INFRA-132 - Remove white space after an opening "(" or before a closing ")"
[civicrm-core.git] / CRM / Core / Payment / AuthorizeNet.php
index ddb2169ff8e75f55bbaa913486e628e5eccc95e9..5fe0710c569e7336e7ba1273a4c4adeb681b82d3 100644 (file)
@@ -289,7 +289,7 @@ class CRM_Core_Payment_AuthorizeNet extends CRM_Core_Payment {
       $startDate->setTimezone(new DateTimeZone(self::TIMEZONE));
     }
 
-    $template->assign( 'startDate', $startDate->format('Y-m-d') );
+    $template->assign('startDate', $startDate->format('Y-m-d'));
 
     $installments = $this->_getParam('installments');
 
@@ -587,7 +587,7 @@ class CRM_Core_Payment_AuthorizeNet extends CRM_Core_Payment {
   public function _getParam($field, $xmlSafe = FALSE) {
     $value = CRM_Utils_Array::value($field, $this->_params, '');
     if ($xmlSafe) {
-      $value = str_replace(array( '&', '"', "'", '<', '>' ), '', $value);
+      $value = str_replace(array('&', '"', "'", '<', '>'), '', $value);
     }
     return $value;
   }