From: Bradley Taylor Date: Sat, 31 Dec 2022 23:37:26 +0000 (+0000) Subject: Remove empty param declarations in docblocks X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=78967f47bcf40956e9f51513b0ce84a042265790;p=civicrm-core.git Remove empty param declarations in docblocks --- diff --git a/CRM/Case/Selector/Search.php b/CRM/Case/Selector/Search.php index 0d70d73967..9b430eea8b 100644 --- a/CRM/Case/Selector/Search.php +++ b/CRM/Case/Selector/Search.php @@ -244,12 +244,10 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base { /** * Returns total number of rows for the query. * - * @param - * * @return int * Total number of rows */ - public function getTotalCount($action) { + public function getTotalCount() { return $this->_query->searchQuery(0, 0, NULL, TRUE, FALSE, FALSE, FALSE, diff --git a/CRM/Event/Form/Search.php b/CRM/Event/Form/Search.php index 7a2c720416..9a8f979f1f 100644 --- a/CRM/Event/Form/Search.php +++ b/CRM/Event/Form/Search.php @@ -348,8 +348,6 @@ class CRM_Event_Form_Search extends CRM_Core_Form_Search { * The processing consists of using a Selector / Controller framework for getting the * search results. * - * @param - * * @return void * @throws \CRM_Core_Exception */ diff --git a/CRM/Event/Form/Task.php b/CRM/Event/Form/Task.php index 45c7f882bd..c6d0a12fe5 100644 --- a/CRM/Event/Form/Task.php +++ b/CRM/Event/Form/Task.php @@ -43,8 +43,6 @@ class CRM_Event_Form_Task extends CRM_Core_Form_Task { /** * Build all the data structures needed to build the form. * - * @param - * * @return void */ public function preProcess() { diff --git a/CRM/Event/Form/Task/Badge.php b/CRM/Event/Form/Task/Badge.php index 501105c5c0..69496c9598 100644 --- a/CRM/Event/Form/Task/Badge.php +++ b/CRM/Event/Form/Task/Badge.php @@ -37,8 +37,6 @@ class CRM_Event_Form_Task_Badge extends CRM_Event_Form_Task { /** * Build all the data structures needed to build the form. * - * @param - * * @return void */ public function preProcess() { diff --git a/CRM/Export/Form/Select.php b/CRM/Export/Form/Select.php index 6a3198f275..b16539b2b3 100644 --- a/CRM/Export/Form/Select.php +++ b/CRM/Export/Form/Select.php @@ -64,8 +64,6 @@ class CRM_Export_Form_Select extends CRM_Core_Form_Task { /** * Build all the data structures needed to build the form. * - * @param - * * @return void */ public function preProcess() { diff --git a/CRM/Mailing/BAO/Mailing.php b/CRM/Mailing/BAO/Mailing.php index 091141ece6..e772bac270 100644 --- a/CRM/Mailing/BAO/Mailing.php +++ b/CRM/Mailing/BAO/Mailing.php @@ -2153,8 +2153,6 @@ ORDER BY civicrm_email.is_bulkmail DESC /** * Get the count of mailings. * - * @param - * * @return int * Count */ diff --git a/CRM/Mailing/Event/BAO/MailingEventQueue.php b/CRM/Mailing/Event/BAO/MailingEventQueue.php index 7f5a38a9c5..6b1d8b20d6 100644 --- a/CRM/Mailing/Event/BAO/MailingEventQueue.php +++ b/CRM/Mailing/Event/BAO/MailingEventQueue.php @@ -231,9 +231,7 @@ class CRM_Mailing_Event_BAO_MailingEventQueue extends CRM_Mailing_Event_DAO_Mail /** * Get the mailing object for this queue event instance. * - * @param - * - * @return object + * @return CRM_Mailing_BAO_Mailing * Mailing BAO */ public function &getMailing() { diff --git a/CRM/Member/Form/Task.php b/CRM/Member/Form/Task.php index 8374e85fdf..1f86f6d5ff 100644 --- a/CRM/Member/Form/Task.php +++ b/CRM/Member/Form/Task.php @@ -33,8 +33,6 @@ class CRM_Member_Form_Task extends CRM_Core_Form_Task { /** * Build all the data structures needed to build the form. * - * @param - * * @return void * @throws \CRM_Core_Exception */ diff --git a/CRM/Profile/Form/Dynamic.php b/CRM/Profile/Form/Dynamic.php index 2d5c2b5c5f..1ed2119ce0 100644 --- a/CRM/Profile/Form/Dynamic.php +++ b/CRM/Profile/Form/Dynamic.php @@ -28,8 +28,6 @@ class CRM_Profile_Form_Dynamic extends CRM_Profile_Form { /** * Pre processing work done here. * - * @param - * */ public function preProcess(): void { if ($this->get('register')) { diff --git a/CRM/Profile/Form/Edit.php b/CRM/Profile/Form/Edit.php index 367848abf2..4916638d5e 100644 --- a/CRM/Profile/Form/Edit.php +++ b/CRM/Profile/Form/Edit.php @@ -35,8 +35,6 @@ class CRM_Profile_Form_Edit extends CRM_Profile_Form { /** * Pre processing work done here. * - * @param - * */ public function preProcess() { $this->_mode = CRM_Profile_Form::MODE_CREATE; diff --git a/CRM/UF/Form/Inline/PreviewById.php b/CRM/UF/Form/Inline/PreviewById.php index befda199d3..1a3f81f035 100644 --- a/CRM/UF/Form/Inline/PreviewById.php +++ b/CRM/UF/Form/Inline/PreviewById.php @@ -27,8 +27,6 @@ class CRM_UF_Form_Inline_PreviewById extends CRM_UF_Form_AbstractPreview { * * gets session variables for group or field id * - * @param - * * @return void * @throws \CRM_Core_Exception */ diff --git a/CRM/UF/Form/Preview.php b/CRM/UF/Form/Preview.php index 822951c675..c1788f5be1 100644 --- a/CRM/UF/Form/Preview.php +++ b/CRM/UF/Form/Preview.php @@ -27,8 +27,6 @@ class CRM_UF_Form_Preview extends CRM_UF_Form_AbstractPreview { * * gets session variables for group or field id * - * @param - * * @return void */ public function preProcess() { diff --git a/CRM/UF/Page/Group.php b/CRM/UF/Page/Group.php index e5bb967aae..7fa01478fc 100644 --- a/CRM/UF/Page/Group.php +++ b/CRM/UF/Page/Group.php @@ -35,8 +35,6 @@ class CRM_UF_Page_Group extends CRM_Core_Page { /** * Get the action links for this page. * - * @param - * * @return array */ public static function &actionLinks() { @@ -286,11 +284,9 @@ class CRM_UF_Page_Group extends CRM_Core_Page { /** * Browse all uf data groups. * - * @param - * * @return void */ - public function browse($action = NULL) { + public function browse() { $ufGroup = []; $allUFGroups = CRM_Core_BAO_UFGroup::getModuleUFGroup(); if (empty($allUFGroups)) { diff --git a/ext/civigrant/CRM/Grant/Form/Task.php b/ext/civigrant/CRM/Grant/Form/Task.php index dceba5ac5f..5e5cddb7c4 100644 --- a/ext/civigrant/CRM/Grant/Form/Task.php +++ b/ext/civigrant/CRM/Grant/Form/Task.php @@ -25,8 +25,6 @@ class CRM_Grant_Form_Task extends CRM_Core_Form_Task { /** * Build all the data structures needed to build the form. * - * @param - * * @return void */ public function preProcess() {