From 59cba00c620fe98fe455210a718f2f528b93dc86 Mon Sep 17 00:00:00 2001 From: JKingsnorth Date: Fri, 24 Feb 2017 09:19:09 +0000 Subject: [PATCH] [NFC] Fix comments for lookupValues function --- CRM/Core/OptionGroup.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/CRM/Core/OptionGroup.php b/CRM/Core/OptionGroup.php index cff3d39264..1227803a5f 100644 --- a/CRM/Core/OptionGroup.php +++ b/CRM/Core/OptionGroup.php @@ -262,9 +262,9 @@ WHERE v.option_group_id = g.id } /** - * Lookup titles OR ids for a set of option_value populated fields. The retrieved value - * is assigned a new fieldname by id or id's by title - * (each within a specificied option_group) + * Lookup titles OR ids for a set of option_value populated fields. The + * retrieved value is assigned a new field name by id or id's by title + * (each within a specified option_group). * * @param array $params * Reference array of values submitted by the form. Based on. @@ -274,11 +274,10 @@ WHERE v.option_group_id = g.id * If $flip = true, adds actual field name => id * * @param array $names - * Reference array of fieldnames we want transformed. + * Array of field names we want transformed. * Array key = 'postName' (field name submitted by form in $params). * Array value = array('newName' => $newName, 'groupName' => $groupName). * - * * @param bool $flip */ public static function lookupValues(&$params, $names, $flip = FALSE) { -- 2.25.1