From 9be11d8351f1a81ecb5c7971e96ab55e00940dab Mon Sep 17 00:00:00 2001 From: Saurabh Batra Date: Thu, 1 Oct 2015 23:59:30 +0530 Subject: [PATCH] comment fixes for Report/Page --- CRM/Report/Page/Instance.php | 4 ---- CRM/Report/Page/Options.php | 11 +---------- CRM/Report/Page/Report.php | 6 +----- CRM/Report/Page/TemplateList.php | 6 +----- 4 files changed, 3 insertions(+), 24 deletions(-) diff --git a/CRM/Report/Page/Instance.php b/CRM/Report/Page/Instance.php index 14d6e60e21..3b727dc955 100644 --- a/CRM/Report/Page/Instance.php +++ b/CRM/Report/Page/Instance.php @@ -29,8 +29,6 @@ * * @package CRM * @copyright CiviCRM LLC (c) 2004-2015 - * $Id$ - * */ /** @@ -39,8 +37,6 @@ class CRM_Report_Page_Instance extends CRM_Core_Page { /** * Run this page (figure out the action needed and perform it). - * - * @return void */ public function run() { $instanceId = CRM_Report_Utils_Report::getInstanceID(); diff --git a/CRM/Report/Page/Options.php b/CRM/Report/Page/Options.php index 57bcc9f2cf..4aa7c18c8b 100644 --- a/CRM/Report/Page/Options.php +++ b/CRM/Report/Page/Options.php @@ -29,8 +29,6 @@ * * @package CRM * @copyright CiviCRM LLC (c) 2004-2015 - * $Id$ - * */ /** @@ -70,8 +68,6 @@ class CRM_Report_Page_Options extends CRM_Core_Page_Basic { /** * Obtains the group name from url and sets the title. - * - * @return void */ public function preProcess() { $this->_action = CRM_Utils_Request::retrieve('action', 'String', $this, FALSE); @@ -110,7 +106,7 @@ class CRM_Report_Page_Options extends CRM_Core_Page_Basic { * Get action Links. * * @return array - * (reference) of action links + * (reference) of action links. */ public function &links() { if (!(self::$_links)) { @@ -145,8 +141,6 @@ class CRM_Report_Page_Options extends CRM_Core_Page_Basic { /** * Run the basic page (run essentially starts execution for that page). - * - * @return void */ public function run() { $this->preProcess(); @@ -155,9 +149,6 @@ class CRM_Report_Page_Options extends CRM_Core_Page_Basic { /** * Browse all options. - * - * - * @return void */ public function browse() { $groupParams = array('name' => self::$_gName); diff --git a/CRM/Report/Page/Report.php b/CRM/Report/Page/Report.php index a30961df3f..4f57f2470c 100644 --- a/CRM/Report/Page/Report.php +++ b/CRM/Report/Page/Report.php @@ -29,19 +29,15 @@ * * @package CRM * @copyright CiviCRM LLC (c) 2004-2015 - * $Id$ - * */ /** - * Page for invoking report templates + * Page for invoking report templates. */ class CRM_Report_Page_Report extends CRM_Core_Page { /** * Run this page (figure out the action needed and perform it). - * - * @return void */ public function run() { if (!CRM_Core_Permission::check('administer Reports')) { diff --git a/CRM/Report/Page/TemplateList.php b/CRM/Report/Page/TemplateList.php index b0c7b39e40..8a7ee5d93f 100644 --- a/CRM/Report/Page/TemplateList.php +++ b/CRM/Report/Page/TemplateList.php @@ -29,12 +29,10 @@ * * @package CRM * @copyright CiviCRM LLC (c) 2004-2015 - * $Id$ - * */ /** - * Page for displaying list of Reprot templates available + * Page for displaying list of Report templates available. */ class CRM_Report_Page_TemplateList extends CRM_Core_Page { @@ -108,8 +106,6 @@ LEFT JOIN civicrm_component comp /** * Run this page (figure out the action needed and perform it). - * - * @return void */ public function run() { $compID = CRM_Utils_Request::retrieve('compid', 'Positive', $this); -- 2.25.1