Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[FrameworkBundle] Fix bad interface hint in AbstractController #24431

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
Oct 5, 2017

Conversation

nicolas-grekas
Copy link
Member

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

As spotted by @stof

@xabbuh
Copy link
Member

xabbuh commented Oct 5, 2017

Does it really make a difference? We have aliases for both interfaces pointing to the same service, don't we?

@chalasr
Copy link
Member

chalasr commented Oct 5, 2017

I think it's sane to have the type that is closer to the injected implementation in the class itself.

@fabpot
Copy link
Member

fabpot commented Oct 5, 2017

Instead of changing the interface, I would instead change the implementation to respect the current interface.

@nicolas-grekas
Copy link
Member Author

done

@fabpot
Copy link
Member

fabpot commented Oct 5, 2017

But tests are broken.

@Tobion
Copy link
Contributor

Tobion commented Oct 5, 2017

Instead of changing the interface, I would instead change the implementation to respect the current interface.

Esp. since the FrameworkBundle EngineInterface will be deprecated #21035

@fabpot
Copy link
Member

fabpot commented Oct 5, 2017

Thank you @nicolas-grekas.

@fabpot fabpot merged commit 5d29dd0 into symfony:3.3 Oct 5, 2017
fabpot added a commit that referenced this pull request Oct 5, 2017
…ller (nicolas-grekas)

This PR was merged into the 3.3 branch.

Discussion
----------

[FrameworkBundle] Fix bad interface hint in AbstractController

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

As spotted by @stof

Commits
-------

5d29dd0 [FrameworkBundle] Fix bad interface hint in AbstractController
@nicolas-grekas nicolas-grekas deleted the engine-if branch October 5, 2017 16:37
@fabpot fabpot mentioned this pull request Oct 5, 2017
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.

6 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.