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

Fixed inconsistent check for isSubscriber method. #1757

Open
wants to merge 1 commit into
base: develop-2.3
Choose a base branch
from

Conversation

ionutG-icoldo
Copy link

@ionutG-icoldo ionutG-icoldo commented Aug 2, 2023

Forcing status value from subscriber object to be of same type as constant that is checked against.

Reason: The getStatus() from Magento Newsletter ( Subscriber class ) module has specified that the return type of the method is int but in fact returns string.

Forcing status value from subscriber object to be of same type as constant that is checked against.
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.

1 participant