Skip to content

Commit

Permalink
Fix some comment typos
Browse files Browse the repository at this point in the history
In some places the commentary dont fit whats under them. So I fixed it.

Ref: S6A-249
  • Loading branch information
iljamobilemojo committed Jan 16, 2025
1 parent 1408ab1 commit be96d26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Service/EnderecoService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion src/Subscriber/AddressSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down

0 comments on commit be96d26

Please sign in to comment.