Skip to content

Commit 2bd16db

Browse files
updated form to version 2.1 and up
1 parent d281df4 commit 2bd16db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Snippets/Form/formtype.sublime-snippet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
namespace ${1:VendorName}\Bundle\\${2:BundleName}Bundle\Form\Type;
44
55
use Symfony\Component\Form\AbstractType;
6-
use Symfony\Component\Form\FormBuilder;
6+
use Symfony\Component\Form\FormBuilderInterface;
77
88
class ${3:FormName}Type extends AbstractType
99
{
10-
public function buildForm(FormBuilder \$builder, array \$options)
10+
public function buildForm(FormBuilderInterface \$builder, array \$options)
1111
{
1212
${0}
1313
}

0 commit comments

Comments
 (0)