Permalink
Browse files

Fixed broken setter in Form/Util/PropertyPath

  • Loading branch information...
1 parent 6821e36 commit 7cb62afb051a3e2e53bda7f688f3fbb00a2601f2 @jankramer jankramer committed Jan 11, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 Util/PropertyPath.php
View
@@ -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 7cb62af

Please sign in to comment.