From 7778d83ae408a76783ff0caa2525765b9b840620 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Mon, 23 Oct 2023 12:49:49 +1300 Subject: [PATCH] Preliminary cleanup - remove function overrides that do not override --- CRM/Report/Form/Contribute/SoftCredit.php | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/CRM/Report/Form/Contribute/SoftCredit.php b/CRM/Report/Form/Contribute/SoftCredit.php index 3def8e3188..67fd887df2 100644 --- a/CRM/Report/Form/Contribute/SoftCredit.php +++ b/CRM/Report/Form/Contribute/SoftCredit.php @@ -308,11 +308,7 @@ class CRM_Report_Form_Contribute_SoftCredit extends CRM_Report_Form { parent::__construct(); } - public function preProcess() { - parent::preProcess(); - } - - public function select() { + public function select(): void { $select = []; $this->_columnHeaders = []; foreach ($this->_columns as $tableName => $table) { @@ -381,19 +377,7 @@ class CRM_Report_Form_Contribute_SoftCredit extends CRM_Report_Form { $this->_select = 'SELECT ' . implode(', ', $select) . ' '; } - /** - * @param array $fields - * @param array $files - * @param CRM_Core_Form $self - * - * @return array - */ - public static function formRule($fields, $files, $self) { - $errors = $grouping = []; - return $errors; - } - - public function from() { + public function from(): void { $alias_constituent = 'constituentname'; $alias_creditor = 'contact_civireport'; $this->_from = " -- 2.25.1