(NFC) Update CRM/Cxn CRM/Dashlet CRM/Export CRM/Extension and CRM/Financial files...
[civicrm-core.git] / CRM / Extension / Manager / Payment.php
index 9d2349a7f4c75c4e367980221b67769515ffa088..fb8417f294bfa6bbdc20c8ab837b8ffb5d487aec 100644 (file)
@@ -205,10 +205,10 @@ class CRM_Extension_Manager_Payment extends CRM_Extension_Manager_Base {
       $file = $this->mapper->classToPath($paymentClass);
       if (!file_exists($file)) {
         CRM_Core_Session::setStatus(ts('Failed to load file (%3) for payment processor (%1) while running "%2"', [
-              1 => $info->key,
-              2 => $method,
-              3 => $file,
-            ]), '', 'error');
+          1 => $info->key,
+          2 => $method,
+          3 => $file,
+        ]), '', 'error');
         return;
       }
       else {
@@ -217,9 +217,9 @@ class CRM_Extension_Manager_Payment extends CRM_Extension_Manager_Base {
     }
     catch (CRM_Extension_Exception $e) {
       CRM_Core_Session::setStatus(ts('Failed to determine file path for payment processor (%1) while running "%2"', [
-            1 => $info->key,
-            2 => $method,
-          ]), '', 'error');
+        1 => $info->key,
+        2 => $method,
+      ]), '', 'error');
       return;
     }
 
@@ -263,10 +263,9 @@ class CRM_Extension_Manager_Payment extends CRM_Extension_Manager_Base {
 
         // Does PP implement this method, and can we call it?
         if (method_exists($processorInstance, $method) && is_callable([
-            $processorInstance,
-            $method,
-          ])
-        ) {
+          $processorInstance,
+          $method,
+        ])) {
           // If so, call it ...
           $processorInstance->$method();
         }