fix a few comment blocks, minor tidy ups
[civicrm-core.git] / CRM / Core / BAO / CustomGroup.php
index a3c4b4995e2ae8153a43670b40a4bbc06eaead19..3ebde84affc281436122054c9cf008b197e9090b 100644 (file)
@@ -1531,14 +1531,13 @@ ORDER BY civicrm_custom_group.weight,
    * @param CRM_Core_Form $form the form object
    * @param string        $type the type of custom group we are using
    *
-   * @return void
+   * @return array
    * @access public
    * @static
    */
   static function extractGetParams(&$form, $type) {
-    // if not GET params return
     if (empty($_GET)) {
-      return;
+      return array();
     }
 
     $groupTree   = CRM_Core_BAO_CustomGroup::getTree($type, $form);