Skip to content

Commit 7b206d6

Browse files
committed
compatibility with symfony/form 4.2+
1 parent cea8022 commit 7b206d6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Form/Extension/DisableCSRFExtension.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,9 @@ public function getExtendedType()
6767
: 'form' // SF <2.8 BC
6868
;
6969
}
70+
71+
public static function getExtendedTypes()
72+
{
73+
return array(FormType::class);
74+
}
7075
}

0 commit comments

Comments
 (0)