- // Property path for the requested data object. When creating a list item,
- // use 0 in the key as all items look the same.
- $parts[] = $object->getPropertyPath() . '.' . (is_numeric($property_name) ? 0 : $property_name);
+ // Property path for the requested data object.
+ $parts[] = $object->getPropertyPath() . '.' . $property_name;