Add docblock comments to explain $input param in CRM_Contribute_BAO::repeatTransaction
authorRich Lott / Artful Robot <code.commits@artfulrobot.uk>
Tue, 5 Jul 2022 08:42:59 +0000 (09:42 +0100)
committerRich Lott / Artful Robot <code.commits@artfulrobot.uk>
Tue, 5 Jul 2022 08:42:59 +0000 (09:42 +0100)
CRM/Contribute/BAO/Contribution.php

index 28ed2129bbaeccde41894749b307fbed84b721c6..5fcc6df74a7bd6ba15a7595ead18e852917efb93 100644 (file)
@@ -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
    *