fix name vs label for case roles
[civicrm-core.git] / CRM / Queue / ErrorPolicy.php
index f87c5df7738affdb1081ba54ad618f6f1e2e73bf..600b45d25a626402f5d790ce9af9f39abd20e3f3 100644 (file)
@@ -63,10 +63,10 @@ class CRM_Queue_ErrorPolicy {
     $this->active = TRUE;
     $this->backup = [];
     foreach ([
-               'display_errors',
-               'html_errors',
-               'xmlrpc_errors',
-             ] as $key) {
+      'display_errors',
+      'html_errors',
+      'xmlrpc_errors',
+    ] as $key) {
       $this->backup[$key] = ini_get($key);
       ini_set($key, 0);
     }
@@ -82,10 +82,10 @@ class CRM_Queue_ErrorPolicy {
     $this->errorScope = NULL;
     restore_error_handler();
     foreach ([
-               'display_errors',
-               'html_errors',
-               'xmlrpc_errors',
-             ] as $key) {
+      'display_errors',
+      'html_errors',
+      'xmlrpc_errors',
+    ] as $key) {
       ini_set($key, $this->backup[$key]);
     }
     $this->active = FALSE;