Skip to content

Commit 7cf4315

Browse files
cammonrodamcou
andauthored
MAGE-1383 Fix typo for strict comparison
Co-authored-by: Damien Couchez <[email protected]>
1 parent 20d3306 commit 7cf4315

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Console/Command/Replica/ReplicaDisableVirtualCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ protected function disableVirtualReplicasForAllStores(): void
151151
public function removeLegacyVirtualReplicaConfig(string $scope = ScopeConfigInterface::SCOPE_TYPE_DEFAULT, int $scopeId = 0): void
152152
{
153153
$value = $this->scopeConfig->getValue(ConfigHelper::LEGACY_USE_VIRTUAL_REPLICA_ENABLED, $scope, $scopeId);
154-
if ($value == null) {
154+
if ($value === null) {
155155
return;
156156
}
157157
$this->output->writeln("<info>Removing legacy configuration " . ConfigHelper::LEGACY_USE_VIRTUAL_REPLICA_ENABLED . " for $scope scope" . ($scope != ScopeConfigInterface::SCOPE_TYPE_DEFAULT ? " (ID=$scopeId)" : "") . "</info>");

0 commit comments

Comments
 (0)