Skip to content

FormBuilderInterface: fix getForm() return type. #19085

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

Merged
merged 1 commit into from
Jun 18, 2016
Merged

Conversation

taueres
Copy link
Contributor

@taueres taueres commented Jun 17, 2016

Q A
Branch? 2.7
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

FormBuilderInterface->getForm() should depend on abstractions and
not implementations as a return type.

FormBuilderInterface->getForm() should depend on abstractions and
not implementations as a return type.
@xabbuh
Copy link
Member

xabbuh commented Jun 17, 2016

👍 (the ButtonBuilder class for example already violates the current interface)

@Tobion
Copy link
Contributor

Tobion commented Jun 18, 2016

Thank you @taueres.

@Tobion Tobion merged commit 3fa081c into symfony:2.7 Jun 18, 2016
Tobion added a commit that referenced this pull request Jun 18, 2016
This PR was merged into the 2.7 branch.

Discussion
----------

FormBuilderInterface: fix getForm() return type.

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

FormBuilderInterface->getForm() should depend on abstractions and
not implementations as a return type.

Commits
-------

3fa081c FormBuilderInterface: fix getForm() return type.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants