Update docblock for alterPaymentProcessorParams because rawParams might be a payment...
authorMatthew Wire <mjw@mjwconsult.co.uk>
Thu, 21 Oct 2021 08:54:49 +0000 (09:54 +0100)
committerMatthew Wire <mjw@mjwconsult.co.uk>
Thu, 21 Oct 2021 08:55:05 +0000 (09:55 +0100)
CRM/Utils/Hook.php

index e4c7b71dcac3b01a65acffff4ff57dd459a6a70f..641e28c4e2ebc9ea6520a4edc538b7920d3563f8 100644 (file)
@@ -1182,7 +1182,7 @@ abstract class CRM_Utils_Hook {
    * @param CRM_Core_Payment $paymentObj
    *   Instance of payment class of the payment processor invoked (e.g., 'CRM_Core_Payment_Dummy')
    *   See discussion in CRM-16224 as to whether $paymentObj should be passed by reference.
-   * @param array &$rawParams
+   * @param array|\Civi\Payment\PropertyBag &$rawParams
    *    array of params as passed to to the processor
    * @param array|\Civi\Payment\PropertyBag &$cookedParams
    *     params after the processor code has translated them into its own key/value pairs