Fixed broken setter in Form/Util/PropertyPath
This commit is contained in:
parent
0acefc9a81
commit
69535cfe42
@ -48,10 +48,10 @@ class PropertyPath extends BasePropertyPath
|
||||
/**
|
||||
* Alias for {@link PropertyAccessor::setValue()}
|
||||
*/
|
||||
public function setValue($objectOrArray, $value)
|
||||
public function setValue(&$objectOrArray, $value)
|
||||
{
|
||||
$propertyAccessor = PropertyAccess::getPropertyAccessor();
|
||||
|
||||
return $propertyAccessor->getValue($objectOrArray, $this, $value);
|
||||
return $propertyAccessor->setValue($objectOrArray, $this, $value);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user