Skip to content

Commit

Permalink
NTR: Cs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitalij Mik committed Oct 15, 2024
1 parent d7b5b55 commit 0115c17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Service/SettingsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public function getSettings(?string $salesChannelId = null): MollieSettingStruct

/** @var array<mixed> $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;
Expand All @@ -114,7 +114,7 @@ public function getSettings(?string $salesChannelId = null): MollieSettingStruct

/** @var array<mixed> $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;
}

Expand Down

0 comments on commit 0115c17

Please sign in to comment.