From 456b01456e55d603448322e62c57327f422e31ba Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Sat, 2 May 2015 16:53:18 +1200 Subject: [PATCH] formatting fixes --- CRM/Contribute/BAO/Contribution.php | 1 + CRM/Contribute/Form/Contribution.php | 9 ++++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CRM/Contribute/BAO/Contribution.php b/CRM/Contribute/BAO/Contribution.php index 3d8cad0299..10a72adc4a 100644 --- a/CRM/Contribute/BAO/Contribution.php +++ b/CRM/Contribute/BAO/Contribution.php @@ -3788,4 +3788,5 @@ WHERE con.id = {$contributionId} ); } } + } diff --git a/CRM/Contribute/Form/Contribution.php b/CRM/Contribute/Form/Contribution.php index 5698f39c01..06a6954d2d 100644 --- a/CRM/Contribute/Form/Contribution.php +++ b/CRM/Contribute/Form/Contribution.php @@ -901,8 +901,9 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP * @return bool|array * true if no errors, else array of errors */ - public static function formRule($fields, /** @noinspection PhpUnusedParameterInspection */ - $files, $self) { + public static function formRule($fields, + /** @noinspection PhpUnusedParameterInspection */ + $files, $self) { $errors = array(); // Check for Credit Card Contribution. @@ -1013,7 +1014,9 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP * * @param array $submittedValues * @param array $lineItem - */ + * + * @return bool|\CRM_Contribute_DAO_Contribution + */ protected function processCreditCard($submittedValues, $lineItem) { $sendReceipt = $contribution = FALSE; -- 2.25.1