Skip to content

Commit 0e043a7

Browse files
committed
Merge pull request #1417 from tacman/patch-1
Update to 2.1 API
2 parents 7f2450a + 8ad395e commit 0e043a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/forms.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -795,11 +795,11 @@ that will house the logic for building the task form:
795795
namespace Acme\TaskBundle\Form\Type;
796796
797797
use Symfony\Component\Form\AbstractType;
798-
use Symfony\Component\Form\FormBuilder;
798+
use Symfony\Component\Form\FormBuilderInterface;
799799
800800
class TaskType extends AbstractType
801801
{
802-
public function buildForm(FormBuilder $builder, array $options)
802+
public function buildForm(FormBuilderInterface $builder, array $options)
803803
{
804804
$builder->add('task');
805805
$builder->add('dueDate', null, array('widget' => 'single_text'));

0 commit comments

Comments
 (0)