Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.7.17
-
Fix Version/s: 4.7.17
-
Component/s: None
-
Labels:None
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Contributed Code
-
Verified?:No
Description
This is a minor cleanup. The principle is that we should avoid passing by reference unless there is a clear expectation. In this signature $names is never altered so should not be passed by reference
public static function lookupValues(&$params, &$names, $flip = FALSE) {