Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0e043a7

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

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎book/forms.rst

Copy file name to clipboardExpand all lines: book/forms.rst
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.