We need to make sure the check that the __call function on the FieldValueCollection is checking for methods in the first item in the collection to call.
The intended behavior is that we should be able to access properties or call methods off of the first object in the collection without having to explicitly say we're getting values from the first object.
Sometimes calls like this:
don't work and have to be replaced with this:
We need to make sure the check that the
__call
function on theFieldValueCollection
is checking for methods in the first item in the collection to call.The intended behavior is that we should be able to access properties or call methods off of the first object in the collection without having to explicitly say we're getting values from the first object.