浏览代码

update ArrayToObjectTransformer due to last symfony changes

Thomas 14 年之前
父节点
当前提交
1f1f7244e8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Form/ValueTransformer/ArrayToObjectTransformer.php

+ 1 - 1
Form/ValueTransformer/ArrayToObjectTransformer.php

@@ -31,7 +31,7 @@ class ArrayToObjectTransformer extends Configurable implements ValueTransformerI
      * @param array $ids
      * @param Collection $collection
      */
-    public function reverseTransform($array, $originalValue)
+    public function reverseTransform($array)
     {
         $class      = $this->getOption('className');
         $metadata   = $this->getOption('em')->getClassMetadata($class);