Skip to content

Conversation

@King2500
Copy link
Contributor

FormTypeExtensions must implement \Symfony\Component\Form\FormTypeExtensionInterface not \Symfony\Component\Form\FormExtensionInterface. Symfony's abstract class AbstractTypeExtension does this aswell.
See http://symfony.com/doc/current/reference/dic_tags.html#form-type-extension
and http://symfony.com/doc/current/cookbook/form/create_form_type_extension.html

image

FormTypeExtensions must implement `\Symfony\Component\Form\FormTypeExtensionInterface` not `\Symfony\Component\Form\FormExtensionInterface`. Symfony's abstract class `AbstractTypeExtension` does this aswell. See http://symfony.com/doc/current/reference/dic_tags.html#form-type-extension and http://symfony.com/doc/current/cookbook/form/create_form_type_extension.html
Haehnchen added a commit that referenced this pull request Apr 20, 2015
[Form] Fixed wrong Inspection for FormTypeExtensions
@Haehnchen Haehnchen merged commit 1ed809e into Haehnchen:master Apr 20, 2015
@Haehnchen
Copy link
Owner

thx

@King2500
Copy link
Contributor Author

np :-)

@King2500 King2500 deleted the patch-1 branch April 20, 2015 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants