Explorar o código

[Form] Fixed some documentation

Jordi Boggiano %!s(int64=14) %!d(string=hai) anos
pai
achega
8800452b1c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)
     {