We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7f2450a + 8ad395e commit 0e043a7Copy full SHA for 0e043a7
book/forms.rst
@@ -795,11 +795,11 @@ that will house the logic for building the task form:
795
namespace Acme\TaskBundle\Form\Type;
796
797
use Symfony\Component\Form\AbstractType;
798
- use Symfony\Component\Form\FormBuilder;
+ use Symfony\Component\Form\FormBuilderInterface;
799
800
class TaskType extends AbstractType
801
{
802
- public function buildForm(FormBuilder $builder, array $options)
+ public function buildForm(FormBuilderInterface $builder, array $options)
803
804
$builder->add('task');
805
$builder->add('dueDate', null, array('widget' => 'single_text'));
0 commit comments