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

Removed getQty() from Mage_Wishlist_IndexController #2072

Merged
merged 1 commit into from
May 12, 2022
Merged

Removed getQty() from Mage_Wishlist_IndexController #2072

merged 1 commit into from
May 12, 2022

Conversation

fballiano
Copy link
Contributor

PR #1915 introduced a getQty() method in Mage_Wishlist_IndexController which triggers a PHPStan error https://github.com/OpenMage/magento-lts/actions/runs/2299769470 and shouldn't be in the controller anyway.

I've removed it.

Copy link
Member

@elidrissidev elidrissidev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding PHPStan was the best thing!

@tmotyl
Copy link
Contributor

tmotyl commented May 10, 2022

@elidrissidev if you like phpstan please review #2055 :)

@fballiano fballiano merged commit 7da4949 into OpenMage:1.9.4.x May 12, 2022
@github-actions
Copy link
Contributor

Unit Test Results

1 files  ±0  1 suites  ±0   0s ⏱️ ±0s
0 tests ±0  0 ✔️ ±0  0 💤 ±0  0 ❌ ±0 
7 runs  ±0  5 ✔️ ±0  2 💤 ±0  0 ❌ ±0 

Results for commit 7da4949. ± Comparison against base commit 110e3d0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Wishlist Relates to Mage_Wishlist
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants