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

dev/core#2043 remove pass-by-reference #18485

Merged
merged 1 commit into from
Sep 18, 2020
Merged

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

dev/core#2043 remove pass-by-reference

Rationale in https://lab.civicrm.org/dev/core/-/issues/2043

Before

public static function create($blockName, &$params, $entity = NULL, $contactId = NULL) {

After

public static function create($blockName, $params, $entity = NULL, $contactId = NULL) {

Technical Details

With #18484 committed it's fairly easy to see $params is not altered in this function

Comments

@civibot
Copy link

civibot bot commented Sep 16, 2020

(Standard links)

@civibot civibot bot added the master label Sep 16, 2020
@eileenmcnaughton
Copy link
Contributor Author

@colemanw this should be easy now...

@colemanw colemanw merged commit 38013e3 into civicrm:master Sep 18, 2020
@colemanw colemanw deleted the ref2 branch September 18, 2020 11:50
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