diff --git a/src/Symfony/Component/Form/FormBuilderInterface.php b/src/Symfony/Component/Form/FormBuilderInterface.php index 998d3ec0d31a..412874567f7f 100644 --- a/src/Symfony/Component/Form/FormBuilderInterface.php +++ b/src/Symfony/Component/Form/FormBuilderInterface.php @@ -24,7 +24,7 @@ interface FormBuilderInterface extends \Traversable, \Countable, FormConfigBuild * object hierarchy. * * @param string|int|FormBuilderInterface $child - * @param string|FormTypeInterface $type + * @param string|null $type * @param array $options * * @return FormBuilderInterface The builder object. @@ -34,9 +34,9 @@ public function add($child, $type = null, array $options = array()); /** * Creates a form builder. * - * @param string $name The name of the form or the name of the property - * @param string|FormTypeInterface $type The type of the form or null if name is a property - * @param array $options The options + * @param string $name The name of the form or the name of the property + * @param string|null $type The type of the form or null if name is a property + * @param array $options The options * * @return FormBuilderInterface The created builder. */