Skip to content

Commit

Permalink
Remove empty param declarations in docblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
braders committed Jan 2, 2023
1 parent f47bbbe commit 78967f4
Show file tree
Hide file tree
Showing 14 changed files with 3 additions and 33 deletions.
4 changes: 1 addition & 3 deletions CRM/Case/Selector/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,12 +244,10 @@ public function getPagerParams($action, &$params) {
/**
* 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,
Expand Down
2 changes: 0 additions & 2 deletions CRM/Event/Form/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -348,8 +348,6 @@ private function submit($formValues) {
* The processing consists of using a Selector / Controller framework for getting the
* search results.
*
* @param
*
* @return void
* @throws \CRM_Core_Exception
*/
Expand Down
2 changes: 0 additions & 2 deletions CRM/Event/Form/Task.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 0 additions & 2 deletions CRM/Event/Form/Task/Badge.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 0 additions & 2 deletions CRM/Export/Form/Select.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ public function getTemplateFileName() {
/**
* Build all the data structures needed to build the form.
*
* @param
*
* @return void
*/
public function preProcess() {
Expand Down
2 changes: 0 additions & 2 deletions CRM/Mailing/BAO/Mailing.php
Original file line number Diff line number Diff line change
Expand Up @@ -2153,8 +2153,6 @@ public static function &report($id, $skipDetails = FALSE, $isSMS = FALSE) {
/**
* Get the count of mailings.
*
* @param
*
* @return int
* Count
*/
Expand Down
4 changes: 1 addition & 3 deletions CRM/Mailing/Event/BAO/MailingEventQueue.php
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,7 @@ public static function &getRows(
/**
* Get the mailing object for this queue event instance.
*
* @param
*
* @return object
* @return CRM_Mailing_BAO_Mailing
* Mailing BAO
*/
public function &getMailing() {
Expand Down
2 changes: 0 additions & 2 deletions CRM/Member/Form/Task.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 0 additions & 2 deletions CRM/Profile/Form/Dynamic.php
Original file line number Diff line number Diff line change
Expand Up @@ -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')) {
Expand Down
2 changes: 0 additions & 2 deletions CRM/Profile/Form/Edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions CRM/UF/Form/Inline/PreviewById.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 0 additions & 2 deletions CRM/UF/Form/Preview.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
6 changes: 1 addition & 5 deletions CRM/UF/Page/Group.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down Expand Up @@ -286,11 +284,9 @@ public function edit($id, $action) {
/**
* 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)) {
Expand Down
2 changes: 0 additions & 2 deletions ext/civigrant/CRM/Grant/Form/Task.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 78967f4

Please sign in to comment.