From 0115c178277c9c694953757f1990650cbf8bccb0 Mon Sep 17 00:00:00 2001 From: Vitalij Mik Date: Tue, 15 Oct 2024 09:52:43 +0200 Subject: [PATCH] NTR: Cs fix --- src/Service/SettingsService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Service/SettingsService.php b/src/Service/SettingsService.php index 78db77db6..99c1c826e 100644 --- a/src/Service/SettingsService.php +++ b/src/Service/SettingsService.php @@ -105,7 +105,7 @@ public function getSettings(?string $salesChannelId = null): MollieSettingStruct /** @var array $coreSettings */ $coreSettings = $this->systemConfigService->get(self::SYSTEM_CORE_LOGIN_REGISTRATION_CONFIG_DOMAIN, $salesChannelId); - if(is_array($coreSettings) && count($coreSettings) > 0) { + if (is_array($coreSettings) && count($coreSettings) > 0) { $structData[self::PHONE_NUMBER_FIELD_REQUIRED] = $coreSettings[self::PHONE_NUMBER_FIELD_REQUIRED] ?? false; $structData[self::PHONE_NUMBER_FIELD] = $coreSettings[self::PHONE_NUMBER_FIELD] ?? false; $structData[self::REQUIRE_DATA_PROTECTION] = $coreSettings[self::REQUIRE_DATA_PROTECTION] ?? false; @@ -114,7 +114,7 @@ public function getSettings(?string $salesChannelId = null): MollieSettingStruct /** @var array $cartSettings */ $cartSettings = $this->systemConfigService->get(self::SYSTEM_CORE_CART_CONFIG_DOMAIN, $salesChannelId); - if(is_array($cartSettings) && count($cartSettings) > 0) { + if (is_array($cartSettings) && count($cartSettings) > 0) { $structData[self::PAYMENT_FINALIZE_TRANSACTION_TIME] = $cartSettings[self::PAYMENT_FINALIZE_TRANSACTION_TIME] ?? 1800; }