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] Remove union return type to fix compatibility issue on Magento 2.4.4 and 2.4.5 #2859

Merged
merged 2 commits into from
Jan 24, 2025

Conversation

candemiralp
Copy link
Member

@candemiralp candemiralp commented Jan 23, 2025

Description

We previously introduced a union return type to DownloadApplePayDomainAssociationFile class that broke the compatibility of the plugin with Magento 2.4.4 and 2.4.5, although it is supported with PHP 8. The union return type is now removed from this class.

Tested scenarios

  • Downloading Apple Pay domain association file

Fixes #2842

@candemiralp candemiralp added the Fix Indicates a bug fix label Jan 23, 2025
@candemiralp candemiralp merged commit cacef78 into main Jan 24, 2025
15 checks passed
@candemiralp candemiralp deleted the ECP-9582 branch January 24, 2025 12:58
@sena1482 sena1482 changed the title [ECP-9582] Fix broken Magento compatibility by removing union return type [ECP-9582] Remove union return type to fix compatibility issue on Magento 2.4.4 and 2.4.5 Feb 4, 2025
@aschrammel
Copy link
Contributor

aschrammel commented Feb 10, 2025

@candemiralp Just FYI: We faced similar problems in the past on the union return type in \Adyen\Payment\Model\OrderRepository::getOrderByQuoteId.

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
3 participants