Skip to content

Commit

Permalink
Merge pull request #21463 from eileenmcnaughton/mem
Browse files Browse the repository at this point in the history
[Ref] Remove unnecessary pass-by-reference
  • Loading branch information
eileenmcnaughton authored Sep 14, 2021
2 parents 6bc70c3 + a38771d commit 73156d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Core/BAO/PdfFormat.php
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ public static function &getById($id) {
*
* @return value
*/
public static function getValue($field, &$values, $default = NULL) {
public static function getValue($field, $values, $default = NULL) {
if (array_key_exists($field, self::$optionValueFields)) {
switch (self::$optionValueFields[$field]['type']) {
case CRM_Utils_Type::T_INT:
Expand Down

0 comments on commit 73156d5

Please sign in to comment.