From 0059fee70298ab23d4d696696481a2af35ba7d8e Mon Sep 17 00:00:00 2001 From: pratikshad Date: Fri, 16 Jan 2015 11:28:43 +0530 Subject: [PATCH] Fixed return void for clean up batch-15 --- CRM/Case/BAO/Case.php | 2 +- CRM/Contact/Form/Task/Map.php | 2 +- CRM/Contact/Page/View/UserDashBoard/GroupContact.php | 4 ++-- CRM/Core/BAO/PreferencesDate.php | 2 +- api/v3/ReportTemplate.php | 2 +- api/v3/SystemLog.php | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CRM/Case/BAO/Case.php b/CRM/Case/BAO/Case.php index 7d0d5e9ad6..8a8c432750 100644 --- a/CRM/Case/BAO/Case.php +++ b/CRM/Case/BAO/Case.php @@ -198,7 +198,7 @@ class CRM_Case_BAO_Case extends CRM_Case_DAO_Case { * * @param int $caseID * - * @return; + * @return void */ public static function deleteCaseContact($caseID) { $caseContact = new CRM_Case_DAO_CaseContact(); diff --git a/CRM/Contact/Form/Task/Map.php b/CRM/Contact/Form/Task/Map.php index 65c94569d9..a5770f55bd 100644 --- a/CRM/Contact/Form/Task/Map.php +++ b/CRM/Contact/Form/Task/Map.php @@ -149,7 +149,7 @@ class CRM_Contact_Form_Task_Map extends CRM_Contact_Form_Task { * @param $addBreadCrumb * @param string $type * - * @return; + * @return void * the location of the file we have created */ public static function createMapXML($ids, $locationId, &$page, $addBreadCrumb, $type = 'Contact') { diff --git a/CRM/Contact/Page/View/UserDashBoard/GroupContact.php b/CRM/Contact/Page/View/UserDashBoard/GroupContact.php index 3fb41fcf8c..ecedf16012 100644 --- a/CRM/Contact/Page/View/UserDashBoard/GroupContact.php +++ b/CRM/Contact/Page/View/UserDashBoard/GroupContact.php @@ -37,7 +37,7 @@ class CRM_Contact_Page_View_UserDashBoard_GroupContact extends CRM_Contact_Page_ /** * called when action is browse * - * @return; + * @return void */ public function browse() { $count = CRM_Contact_BAO_GroupContact::getContactGroup( @@ -130,7 +130,7 @@ class CRM_Contact_Page_View_UserDashBoard_GroupContact extends CRM_Contact_Page_ * the main function that is called when the page loads, * it decides the which action has to be taken for the page. * - * @return; + * @return void */ public function run() { $this->edit(); diff --git a/CRM/Core/BAO/PreferencesDate.php b/CRM/Core/BAO/PreferencesDate.php index e85135433b..8c7d3a6b09 100644 --- a/CRM/Core/BAO/PreferencesDate.php +++ b/CRM/Core/BAO/PreferencesDate.php @@ -75,7 +75,7 @@ class CRM_Core_BAO_PreferencesDate extends CRM_Core_DAO_PreferencesDate { * @param bool $is_active * Value we want to set the is_active field. * - * @return; + * @return void * DAO object on sucess, null otherwise * */ diff --git a/api/v3/ReportTemplate.php b/api/v3/ReportTemplate.php index 05755081b4..ee4c608ba1 100644 --- a/api/v3/ReportTemplate.php +++ b/api/v3/ReportTemplate.php @@ -164,7 +164,7 @@ function civicrm_api3_report_template_getstatistics($params) { * @param array $params * Input parameters. * - * @return; + * @return void * details of found instances */ function _civicrm_api3_report_template_getrows_spec(&$params) { diff --git a/api/v3/SystemLog.php b/api/v3/SystemLog.php index 89f6dac6d8..403ea7a885 100644 --- a/api/v3/SystemLog.php +++ b/api/v3/SystemLog.php @@ -60,7 +60,7 @@ function civicrm_api3_system_log_create($params) { /** * @param array $params * - * @return; + * @return void */ function _civicrm_api3_system_log_create_spec(&$params) { require_once 'api/v3/System.php'; -- 2.25.1