From: Eileen McNaughton Date: Sat, 9 May 2015 09:50:10 +0000 (+1200) Subject: minor comment fixes X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2f9f578f4544d0d0fdea92f1d9cf69f9b81b9421;p=civicrm-core.git minor comment fixes --- diff --git a/CRM/Custom/Form/CustomData.php b/CRM/Custom/Form/CustomData.php index f3176ce031..9b4f1fa5f6 100644 --- a/CRM/Custom/Form/CustomData.php +++ b/CRM/Custom/Form/CustomData.php @@ -46,8 +46,6 @@ class CRM_Custom_Form_CustomData { * @param string $type * @param null|int $entityID * @param null $onlySubType - * - * @return void */ public static function preProcess( &$form, $subName = NULL, $subType = NULL, @@ -160,7 +158,6 @@ class CRM_Custom_Form_CustomData { /** * @param CRM_Core_Form $form - * @return void */ public static function buildQuickForm(&$form) { $form->addElement('hidden', 'hidden_custom', 1); diff --git a/CRM/Member/Form/MembershipRenewal.php b/CRM/Member/Form/MembershipRenewal.php index 407942784d..8f19fdfc34 100644 --- a/CRM/Member/Form/MembershipRenewal.php +++ b/CRM/Member/Form/MembershipRenewal.php @@ -107,7 +107,7 @@ class CRM_Member_Form_MembershipRenewal extends CRM_Member_Form { $this->assign('cdType', FALSE); if ($this->_cdType) { $this->assign('cdType', TRUE); - return CRM_Custom_Form_CustomData::preProcess($this); + CRM_Custom_Form_CustomData::preProcess($this); } parent::preProcess(); @@ -156,8 +156,8 @@ class CRM_Member_Form_MembershipRenewal extends CRM_Member_Form { * Set default values for the form. * the default values are retrieved from the database * - * - * @return void + * @return array + * Default values. */ public function setDefaultValues() { if ($this->_cdType) { @@ -240,12 +240,10 @@ class CRM_Member_Form_MembershipRenewal extends CRM_Member_Form { /** * Build the form object. - * - * @return void */ public function buildQuickForm() { if ($this->_cdType) { - return CRM_Custom_Form_CustomData::buildQuickForm($this); + CRM_Custom_Form_CustomData::buildQuickForm($this); } parent::buildQuickForm(); @@ -492,7 +490,6 @@ WHERE id IN ( ' . implode(' , ', array_keys($membershipType)) . ' )'; */ public function postProcess() { - $ids = array(); $config = CRM_Core_Config::singleton(); // get the submitted form values.