Skip to content

Commit

Permalink
Fixed broken setter in Form/Util/PropertyPath
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Kramer committed Jan 11, 2013
1 parent 0acefc9 commit 69535cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Symfony/Component/Form/Util/PropertyPath.php
Expand Up @@ -48,10 +48,10 @@ public function getValue($objectOrArray)
/**
* 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);
}
}

0 comments on commit 69535cf

Please sign in to comment.