Merge pull request #1 from civicrm/master
[civicrm-core.git] / CRM / Core / QuickForm / NestedAdvMultiSelect.php
index a210b710b17f9672a9e6eeb06e88b0c66bbb9cf3..791ef9ef2477c90d5d0abda06e76d42825bc6072 100644 (file)
@@ -40,6 +40,7 @@ require_once 'HTML/QuickForm/advmultiselect.php';
  * Class CRM_Core_QuickForm_NestedAdvMultiSelect
  */
 class CRM_Core_QuickForm_NestedAdvMultiSelect extends HTML_QuickForm_advmultiselect {
+
   /**
    * Loads options from different types of data sources.
    *
@@ -67,7 +68,7 @@ class CRM_Core_QuickForm_NestedAdvMultiSelect extends HTML_QuickForm_advmultisel
   ) {
     switch (TRUE) {
       case ($options instanceof Iterator):
-        $arr = array();
+        $arr = [];
         foreach ($options as $key => $val) {
           $arr[$key] = $val;
         }