From f79eeacddd074342718c17683f93b62a7fca947a Mon Sep 17 00:00:00 2001 From: Marvin Besselsen Date: Fri, 4 Nov 2022 15:39:43 +0100 Subject: [PATCH 1/2] Allow return of null --- Block/Checkout/CheckoutConfig.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Block/Checkout/CheckoutConfig.php b/Block/Checkout/CheckoutConfig.php index 7c7ef2041f2..8d2d2c4f179 100644 --- a/Block/Checkout/CheckoutConfig.php +++ b/Block/Checkout/CheckoutConfig.php @@ -33,7 +33,7 @@ public function __construct( $this->checkoutSession = $checkoutSession; } - public function getDefaultSelectedMethod(): string + public function getDefaultSelectedMethod(): ?string { $method = $this->checkoutSession->getQuote()->getPayment()->getMethod(); if ($method) { From 8a37450eed3810c6002401d589c8dc6234fbc52d Mon Sep 17 00:00:00 2001 From: Marvin Besselsen Date: Fri, 4 Nov 2022 15:50:06 +0100 Subject: [PATCH 2/2] Version bump --- composer.json | 2 +- etc/config.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index e244c32cdf4..9b996542b83 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "mollie/magento2", "description": "Mollie Payment Module for Magento 2", - "version": "2.18.0", + "version": "2.18.1", "keywords": [ "mollie", "payment", diff --git a/etc/config.xml b/etc/config.xml index 0ca7b127238..1205b26a75e 100644 --- a/etc/config.xml +++ b/etc/config.xml @@ -3,7 +3,7 @@ - v2.18.0 + v2.18.1 0 0 test