From 7290e678289debee223d649f64d98aafcf4a5172 Mon Sep 17 00:00:00 2001 From: Rich Lott / Artful Robot Date: Tue, 5 Jul 2022 09:42:59 +0100 Subject: [PATCH] Add docblock comments to explain $input param in CRM_Contribute_BAO::repeatTransaction --- CRM/Contribute/BAO/Contribution.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CRM/Contribute/BAO/Contribution.php b/CRM/Contribute/BAO/Contribution.php index 28ed2129bb..5fcc6df74a 100644 --- a/CRM/Contribute/BAO/Contribution.php +++ b/CRM/Contribute/BAO/Contribution.php @@ -2184,6 +2184,12 @@ LEFT JOIN civicrm_contribution contribution ON ( componentPayment.contribution_ * Gaps in the above ( * * @param array $input + * Keys are all optional, if not supplied the template contribution's values are used. + * The template contribution is either the actual template or the latest added contribution + * for the ContributionRecur specified in $contributionParams['contribution_recur_id']. + * - total_amount + * - financial_type_id + * - campaign_id * * @param array $contributionParams * -- 2.25.1