Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6541ac2

Browse files
committed
bug #36777 [TwigBundle] FormExtension does not have a constructor anymore since sf 4.0 (Tobion)
This PR was merged into the 4.4 branch. Discussion ---------- [TwigBundle] FormExtension does not have a constructor anymore since sf 4.0 | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | | License | MIT | Doc PR | Commits ------- 35e391a [TwigBundle] FormExtension does not have a constructor anymore since sf 4.0
2 parents 333f718 + 35e391a commit 6541ac2

File tree

1 file changed

+1
-6
lines changed
  • src/Symfony/Bundle/TwigBundle/Resources/config

1 file changed

+1
-6
lines changed

src/Symfony/Bundle/TwigBundle/Resources/config/form.xml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,7 @@
66
<services>
77
<defaults public="false" />
88

9-
<service id="twig.extension.form" class="Symfony\Bridge\Twig\Extension\FormExtension">
10-
<argument type="collection">
11-
<argument type="service" id="service_container" />
12-
<argument>twig.form.renderer</argument>
13-
</argument>
14-
</service>
9+
<service id="twig.extension.form" class="Symfony\Bridge\Twig\Extension\FormExtension" />
1510

1611
<service id="twig.form.engine" class="Symfony\Bridge\Twig\Form\TwigRendererEngine">
1712
<argument>%twig.form.resources%</argument>

0 commit comments

Comments
 (0)