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

M2-97 - Fixed some "Passing null to parameter of type string is depre… #27

Merged

Conversation

FatchipRobert
Copy link
Contributor

…cated" problems for PHP 8.1 compatibility

When fixing compatibility for PHP 8.1 for the Ratepay Magento2 module some problems occured when a cdata parameter was filled with a null value. This was no problem before but with PHP 8.1 being very strict this resulted in a PHP warning which Magento2 converts into an exception.

With these changes the behaviour stays the same as before in PHP 8.1.

@eiriarte-mendez eiriarte-mendez merged commit 77e6b3a into ratepay:master May 6, 2022
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.

2 participants