Commit 84182b73 authored by jhodgdon's avatar jhodgdon
Browse files

Issue #2610128 by rakesh.gectcr: Comment Typos in class FieldItemList

(cherry picked from commit ef23f6d4)
parent df41f701
......@@ -115,7 +115,7 @@ public function getValue($include_computed = FALSE) {
* {@inheritdoc}
*/
public function setValue($values, $notify = TRUE) {
// Support passing in only the value of the first item, either as a litteral
// Support passing in only the value of the first item, either as a literal
// (value of the first property) or as an array of properties.
if (isset($values) && (!is_array($values) || (!empty($values) && !is_numeric(current(array_keys($values)))))) {
$values = array(0 => $values);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment