From: Eileen McNaughton Date: Sat, 2 May 2015 04:53:18 +0000 (+1200) Subject: formatting fixes X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=456b01456e55d603448322e62c57327f422e31ba;p=civicrm-core.git formatting fixes --- 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;