Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Form] Fixed wrong Inspection for FormTypeExtensions #483

Merged
merged 1 commit into from
Apr 20, 2015

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants