amazon-pay-sdk-php
amazon-pay-sdk-php copied to clipboard
php fatal error for newer psr\log
With a new psr\log version following fatal error occurs:
PHP Fatal error: Declaration of AmazonPay\\Client::setLogger(?Psr\\Log\\LoggerInterface $logger = null) must be compatible with Psr\\Log\\LoggerAwareInterface::setLogger(Psr\\Log\\LoggerInterface $logger): void in /var/www/html/vendor/amzn/amazon-pay-sdk-php/AmazonPay/Client.php on line 106