Przeglądaj źródła

[Form] Fixed some documentation

Jordi Boggiano 14 lat temu
rodzic
commit
8800452b1c
1 zmienionych plików z 1 dodań i 1 usunięć
  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)
     {