Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docblock for alterPaymentProcessorParams because rawParams might be a payment propertyBag #21897

Merged
merged 1 commit into from
Oct 21, 2021

Conversation

mattwire
Copy link
Contributor

Overview

This just updates the docblock to reflect what it is already the case. The $rawParams passed to the hook might be an array or a payment propertyBag.

Before

docblock indicates it's an array only

After

docblock indicates what it actually could be.

Technical Details

$cookedParams docblock got updated over a year ago. It's extremely unlikely that you get an array and return a propertyBag. More likely is that you'd return in whatever format you got it in!

Comments

@civibot
Copy link

civibot bot commented Oct 21, 2021

(Standard links)

@civibot civibot bot added the master label Oct 21, 2021
@demeritcowboy demeritcowboy merged commit 5f6bc5b into civicrm:master Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants