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

Changed constructor to use interface instead of direct classname #6775

Merged
merged 1 commit into from
Mar 22, 2017
Merged

Changed constructor to use interface instead of direct classname #6775

merged 1 commit into from
Mar 22, 2017

Conversation

dverkade
Copy link
Member

@dverkade dverkade commented Sep 27, 2016

Constructor should use an interface instead of a direct classname so it can be overwritten when necessary. In the di.xml this was already done, but in this constructor it didn't use the interface yet, so this has been changed.

Constructor should use an interface instead of a direct classname so it can be overwritten when necessary. In the di.xml this was already done, but in this constructor it didn't use the interface yet, so this has been changed.
@vrann vrann self-assigned this Mar 22, 2017
@vrann vrann added this to the March 2017 milestone Mar 22, 2017
@magento-team magento-team merged commit 46deb64 into magento:develop Mar 22, 2017
@vrann
Copy link
Contributor

vrann commented Mar 22, 2017

@dverkade Thank you for the contribution, this PR make our codebase closer to both SOLID principles and Magento Technical Vision, great work!

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.

4 participants