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

CRM-21482 follow up notice fix - sync function signatures on getCurrency #11344

Merged
merged 1 commit into from
Nov 29, 2017

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Nov 29, 2017

Overview

Fixes a warning by syncing function signatures

Before

On back office contribution:

Warning: Declaration of CRM_Contribute_Form_AbstractEditPayment::getCurrency($submittedValues) should be compatible with CRM_Core_Form::getCurrency() in require_once() (line 48 of /Users/emcnaughton/buildkit/build/dmaster/sites/all/modules/civicrm/CRM/Contribute/Form/AbstractEditPayment.php).

After

Msg fixed

Technical Details

I'd really have liked to removed $submittedValues from the AbstractEditPayment class
but it felt too risky since there are a lot of unpredictable params in there.

Only CRM_Contribute_Form_Contribution actually calls that line.

Comments

@colemanw follow up on the patch you merged the other day


…ng abstract payment class.

I'd really have liked to removed $submittedValues from the AbstractEditPayment class
but it felt too risky since there are a lot of unpredictable params in there.

Only CRM_Contribute_Form_Contribution actually calls that line.
@colemanw colemanw merged commit e4dcb14 into civicrm:master Nov 29, 2017
@colemanw colemanw deleted the currency branch November 29, 2017 17:40
sluc23 pushed a commit to ixiam/civicrm-core that referenced this pull request Jan 10, 2018
CRM-21482 follow up notice fix - sync function signatures on getCurrency
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.

3 participants