8000 merged branch cs278/master (PR #5172) · symfony/symfony@be41ca3 · GitHub
[go: up one dir, main page]

Skip to content

Commit be41ca3

Browse files
committed
merged branch cs278/master (PR #5172)
Commits ------- d1aae0b [Form] Fix UnexpectedTypeException from HttpFoundation extension Discussion ---------- [Form] Fix UnexpectedTypeException from HttpFoundation extension Bug fix: yes Feature addition: no Backwards compatibility break: no Symfony2 tests pass: yes Fixes the following tickets: - Todo: - Fixes exception thrown by the `AbstractExtension` because the wrong method has been implemented. ``` Uncaught exception 'Symfony\\Component\\Form\\Exception\\UnexpectedTypeException' with message 'Expected argument of type "Symfony\\Component\\Form\\FormTypeInterface", "Symfony\\Component\\Form\\Extension\\HttpFoundation\\Type\\FormTypeHttpFoundationExtension" given' in vendor/symfony/form/Symfony/Component/Form/AbstractExtension.php:153 ``` --------------------------------------------------------------------------- by stof at 2012-08-03T12:36:55Z :+1:
2 parents c534661 + d1aae0b commit be41ca3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Form/Extension/HttpFoundation/HttpFoundationExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*/
2121
class HttpFoundationExtension extends AbstractExtension
2222
{
23-
protected function loadTypes()
23+
protected function loadTypeExtensions()
2424
{
2525
return array(
2626
new Type\FormTypeHttpFoundationExtension(),

0 commit comments

Comments
 (0)
0