From be96d266403d40100ddf724f37993a7dc63ebbc5 Mon Sep 17 00:00:00 2001 From: Ilja Weber Date: Thu, 16 Jan 2025 13:28:06 +0100 Subject: [PATCH] Fix some comment typos In some places the commentary dont fit whats under them. So I fixed it. Ref: S6A-249 --- src/Service/EnderecoService.php | 2 +- src/Subscriber/AddressSubscriber.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Service/EnderecoService.php b/src/Service/EnderecoService.php index e1edd29f..0deda2e3 100644 --- a/src/Service/EnderecoService.php +++ b/src/Service/EnderecoService.php @@ -784,7 +784,7 @@ public function isImportExportCheckFeatureEnabled(string $salesChannelId): bool // Check if the Endereco plugin is active and ready to use for the given sales channel. $pluginIsReadyToUse = $this->isEnderecoPluginActive($salesChannelId); - // Check if the street splitting feature is active in the settings for the given sales channel. + // Check if the addresses of imported customers should be validated. $featureIsActiveInSettings = $this->systemConfigService ->getBool('EnderecoShopware6Client.config.enderecoImportExportCheck', $salesChannelId); diff --git a/src/Subscriber/AddressSubscriber.php b/src/Subscriber/AddressSubscriber.php index 329657cd..91eab9cc 100644 --- a/src/Subscriber/AddressSubscriber.php +++ b/src/Subscriber/AddressSubscriber.php @@ -110,7 +110,7 @@ public static function getSubscribedEvents(): array CustomerEvents::CUSTOMER_ADDRESS_WRITTEN_EVENT => ['closeStoredSessions'] ]; - // This two events are used to recognize a running import to optionaly deactivate checks. + // These three events are used to recognize a running import to optionally deactivate checks. $importExportEvents = [ ImportExportBeforeImportRecordEvent::class => ['onBeforeImportRecord'], ImportExportAfterImportRecordEvent::class => ['onAfterImportRecord'],