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

[Forwardport] Removed unnecessary protected member variables. #10

Open
wants to merge 4 commits into
base: 2.3-develop
Choose a base branch
from

Conversation

dimonovp
Copy link
Owner

Original Pull Request

magento#14041
Hello,

Description

Removed unnecessary protected member variables of Image class.
The variable $imageHelper, $product and $attributes are not in use.
Above three variable doesn't contain any values. Also verified it on category, product and cart page.

Fixed Issues (if relevant)

N/A

Manual testing scenarios

N/A

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

yogeshks and others added 4 commits March 20, 2018 09:29
Removed unnecessary protected member variables of Image class.
The variable `$imageHelper`, `$product` and `$attributes` are not in use.
Above three variable doesn't contain any values. Also verified it on category, product and cart page.
Restored protected properties of Image class and marked them as `@deprecated`.
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.

3 participants