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

Fix property types in the addCommerceProductDetaIlView() #77

Merged

Conversation

Romanavr
Copy link

@Romanavr Romanavr commented Jan 25, 2023

Description

nystudio107\instantanalytics\services\addCommerceProductDetailView()
Expects a product or variant element, but here we only pass a string or null, which breaks the whole logic.
I fixed the types for the argument.

In the 3rd version there is was no strict type for the argument

Related issues

#75

@khalwat khalwat merged commit 7f770a1 into nystudio107:develop-v4 Feb 6, 2023
@khalwat
Copy link
Contributor

khalwat commented Feb 6, 2023

Thanks!

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.

None yet

2 participants