Merge pull request #17641 from MegaphoneJon/core-1590
[civicrm-core.git] / CRM / Core / QuickForm / NestedAdvMultiSelect.php
index a210b710b17f9672a9e6eeb06e88b0c66bbb9cf3..82e8bebbf06274ee1c90b11b356037bc275ad834 100644 (file)
@@ -30,7 +30,6 @@
  *
  * @package CRM
  * @copyright U.S. PIRG Education Fund 2007
- * $Id$
  *
  */
 
@@ -40,6 +39,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 +67,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;
         }