From 5785931e52be5efc84240cc5428e7954c88b2215 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Wed, 4 Jun 2014 10:36:25 +1200 Subject: [PATCH] formatting & comment fixes --- CRM/Contribute/Form/Contribution/Confirm.php | 3 +-- api/v3/ContributionPage.php | 6 ++---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/CRM/Contribute/Form/Contribution/Confirm.php b/CRM/Contribute/Form/Contribution/Confirm.php index 51a9336e3c..196f7faf2a 100644 --- a/CRM/Contribute/Form/Contribution/Confirm.php +++ b/CRM/Contribute/Form/Contribution/Confirm.php @@ -1204,8 +1204,7 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr $params['financial_type_id'] = $financialType->id; //create an contribution address - if ( - $form->_contributeMode != 'notify' && empty($params['is_pay_later']) && !empty($form->_values['is_monetary'])) { + if ($form->_contributeMode != 'notify' && empty($params['is_pay_later']) && !empty($form->_values['is_monetary'])) { $addressID = CRM_Contribute_BAO_Contribution::createAddress($params, $form->_bltID); } diff --git a/api/v3/ContributionPage.php b/api/v3/ContributionPage.php index 73fbf4647e..59c27c499d 100644 --- a/api/v3/ContributionPage.php +++ b/api/v3/ContributionPage.php @@ -64,11 +64,9 @@ function _civicrm_api3_contribution_page_create_spec(&$params) { /** * Returns array of contribution_pages matching a set of one or more group properties * - * @param array $params (referance) Array of one or more valid - * property_name=>value pairs. If $params is set - * as null, all contribution_pages will be returned + * @param array $params Array of one or more valid property_name=>value pairs. * - * @return array (referance) Array of matching contribution_pages + * @return array API Result array Array of matching contribution_pages * {@getfields contribution_page_get} * @access public */ -- 2.25.1