The mapping of property paths to arrays has changed.
Previously, a property path "street" mapped to both a field $street of
a class (or its accessors getStreet() and setStreet()) and an index
['street'] of an array or an object implementing \ArrayAccess.
Now, the property path "street" only maps to a class field (or accessors),
while the property path "[street]" only maps to indices.
If you defined property paths manually in the "property_path" option, you
should revise them and adjust them if necessary.
The mapping of property paths to arrays has changed.
Previously, a property path "street" mapped to both a field
$street
of a class (or its accessorsgetStreet()
andsetStreet()
) and an index['street']
of an array or an object implementing\ArrayAccess
.Now, the property path "street" only maps to a class field (or accessors), while the property path "[street]" only maps to indices.
If you defined property paths manually in the "property_path" option, you should revise them and adjust them if necessary.
Before:
After (if the address object is an array):
If address is an object in this case, the code given in "Before" works without changes.