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

[ECP-9582] Fix broken Magento compatibility by removing union return type #2859

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

candemiralp
Copy link
Member

Description

After introducing a union return type to DownloadApplePayDomainAssociationFile class, Magento 2.4.4 and 2.4.5 compatibility of the plugin was broken. Even though union return type is supported on PHP 8, it is not supported by that Magento versions. This PR removes the union return type from the aforementioned class.

Tested scenarios

  • Downloading Apple Pay domain association file

Fixes #2842

@candemiralp candemiralp added the Fix Indicates a bug fix label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix Indicates a bug fix
Projects
None yet
2 participants