Browse Source

[Form] Fixed some documentation

Jordi Boggiano 14 năm trước cách đây
mục cha
commit
8800452b1c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/Symfony/Component/Form/FieldGroup.php

+ 1 - 1
src/Symfony/Component/Form/FieldGroup.php

@@ -278,6 +278,7 @@ class FieldGroup extends Field implements \IteratorAggregate, FieldGroupInterfac
      * Returns the data of the field as it is displayed to the user.
      *
      * @see FieldInterface
+     * @return array of field name => value
      */
     public function getDisplayedData()
     {
@@ -294,7 +295,6 @@ class FieldGroup extends Field implements \IteratorAggregate, FieldGroupInterfac
      * Binds POST data to the field, transforms and validates it.
      *
      * @param  string|array $taintedData  The POST data
-     * @return boolean                    Whether the form is valid
      */
     public function bind($taintedData)
     {