INFRA-132 - Drupal.Classes.ClassDeclaration
[civicrm-core.git] / CRM / Report / Utils / Get.php
index f0fd552db83fdc0b30df22d6154ae5c409a366c3..fe0b9507c2da0d53cfbb41687d965f8ab66bb111 100644 (file)
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | CiviCRM version 4.6                                                |
@@ -121,6 +120,7 @@ class CRM_Report_Utils_Get {
       case 'nnll':
         $defaults["{$fieldName}_op"] = $fieldOP;
         break;
+
       case 'in':
       case 'notin':
       case 'mhas':
@@ -195,7 +195,9 @@ class CRM_Report_Utils_Get {
   public static function processChart(&$defaults) {
     $chartType = CRM_Utils_Array::value("charts", $_GET);
     if (in_array($chartType, array(
-      'barChart', 'pieChart'))) {
+      'barChart',
+      'pieChart',
+    ))) {
       $defaults["charts"] = $chartType;
     }
   }
@@ -229,8 +231,8 @@ class CRM_Report_Utils_Get {
     }
   }
 
-  //unset default filters
   /**
+   * unset default filters
    * @param $defaults
    */
   public static function unsetFilters(&$defaults) {
@@ -303,4 +305,5 @@ class CRM_Report_Utils_Get {
       }
     }
   }
+
 }