@@ -30,7 +30,7 @@ class FormExtension extends AbstractExtension
3030/**
3131 * {@inheritdoc}
3232 */
33- public function getTokenParsers ()
33+ public function getTokenParsers (): array
3434 {
3535return [
3636// {% form_theme form "SomeBundle::widgets.twig" %}
@@ -41,7 +41,7 @@ public function getTokenParsers()
4141/**
4242 * {@inheritdoc}
4343 */
44- public function getFunctions ()
44+ public function getFunctions (): array
4545 {
4646return [
4747new TwigFunction ('form_widget ' ,null , ['node_class ' =>'Symfony\Bridge\Twig\Node\SearchAndRenderBlockNode ' ,'is_safe ' => ['html ' ]]),
@@ -61,7 +61,7 @@ public function getFunctions()
6161/**
6262 * {@inheritdoc}
6363 */
64- public function getFilters ()
64+ public function getFilters (): array
6565 {
6666return [
6767new TwigFilter ('humanize ' , ['Symfony\Component\Form\FormRenderer ' ,'humanize ' ]),
@@ -72,7 +72,7 @@ public function getFilters()
7272/**
7373 * {@inheritdoc}
7474 */
75- public function getTests ()
75+ public function getTests (): array
7676 {
7777return [
7878new TwigTest ('selectedchoice ' ,'Symfony\Bridge\Twig\Extension\twig_is_selected_choice ' ),