INFRA-132 - Docblock formatting fixes
[civicrm-core.git] / CRM / Report / Page / Instance.php
index 2a7fd6557cb3bac8cf91fe59c26d42b65061999c..1789f2e872f2caf3f15414aedee6779df5f3293d 100644 (file)
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | CiviCRM version 4.6                                                |
@@ -43,12 +42,12 @@ class CRM_Report_Page_Instance extends CRM_Core_Page {
    *
    * @return void
    */
-  function run() {
+  public function run() {
     $instanceId = CRM_Report_Utils_Report::getInstanceID();
     if (!$instanceId) {
       $instanceId = CRM_Report_Utils_Report::getInstanceIDForPath();
     }
-    $action    = CRM_Utils_Request::retrieve('action', 'String', $this);
+    $action = CRM_Utils_Request::retrieve('action', 'String', $this);
     $optionVal = CRM_Report_Utils_Report::getValueFromUrl($instanceId);
     $reportUrl = CRM_Utils_System::url('civicrm/report/list', "reset=1");
 
@@ -108,4 +107,3 @@ class CRM_Report_Page_Instance extends CRM_Core_Page {
     return CRM_Utils_System::redirect($reportUrl);
   }
 }
-