alma / alma-monthlypayments-magento2

Magento 2 Payment Gateway integration for Alma
Other
6 stars 9 forks source link

Param typing too restrictive > PaymentPlansHelper::formatFeePlanConfigForSave() #68

Closed thacac closed 1 year ago

thacac commented 1 year ago

When trying to disable the payment method from BO If $configInput is null > lead to BO getting KO with log main.CRITICAL: TypeError: Argument 2 passed to Alma\MonthlyPayments\Helpers\PaymentPlansHelper::formatFeePlanConfigForSave() must be of the type array, null given, (Mgento 2.4..2 / php 74)

Francois-Gomis commented 1 year ago

Thanks for this PR.