Skip to content

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