瀏覽代碼

[Form] Removed unused property from Field

Bernhard Schussek 14 年之前
父節點
當前提交
265cdd148f
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      src/Symfony/Component/Form/Field.php

+ 1 - 3
src/Symfony/Component/Form/Field.php

@@ -48,8 +48,6 @@ use Symfony\Component\Form\ValueTransformer\TransformationFailedException;
  */
  */
 class Field extends Configurable implements FieldInterface
 class Field extends Configurable implements FieldInterface
 {
 {
-    protected $taintedData = null;
-
     private $errors = array();
     private $errors = array();
     private $key = '';
     private $key = '';
     private $parent = null;
     private $parent = null;
@@ -295,7 +293,7 @@ class Field extends Configurable implements FieldInterface
     /**
     /**
      * Binds POST data to the field, transforms and validates it.
      * Binds POST data to the field, transforms and validates it.
      *
      *
-     * @param  string|array $taintedData  The POST data
+     * @param  string|array $data  The POST data
      */
      */
     public function submit($data)
     public function submit($data)
     {
     {