(NFC) Apply upcoming civicrm/coder policies (batch 2)
[civicrm-core.git] / CRM / Campaign / Form / Task / Release.php
index c45a8d53695164a5d39bb1909e75830eff01968b..75d994d1557cf25e5483e805ba2343e3db0aabb5 100644 (file)
@@ -67,10 +67,10 @@ class CRM_Campaign_Form_Task_Release extends CRM_Campaign_Form_Task {
     if ($this->_interviewToRelease) {
       //user came from interview form.
       foreach ([
-                 'surveyId',
-                 'contactIds',
-                 'interviewerId',
-               ] as $fld) {
+        'surveyId',
+        'contactIds',
+        'interviewerId',
+      ] as $fld) {
         $this->{"_$fld"} = $this->get($fld);
       }
 
@@ -101,9 +101,7 @@ class CRM_Campaign_Form_Task_Release extends CRM_Campaign_Form_Task {
 
     $activityStatus = CRM_Core_PseudoConstant::activityStatus('name');
     $statusIds = [];
-    foreach ([
-               'Scheduled',
-             ] as $name) {
+    foreach (['Scheduled'] as $name) {
       if ($statusId = array_search($name, $activityStatus)) {
         $statusIds[] = $statusId;
       }