Skip to content

Commit ce78ea9

Browse files
committed
Adjust code styling for new things found by php-cs-fixer
1 parent e4403f8 commit ce78ea9

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

Checker/Catalog/Product/UrlKey/DuplicateUrlKey.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,10 @@ function ($urlKey) use ($urlKeysWhichExistMoreThanOnce) {
214214
$conflictingStoreId
215215
),
216216
];
217-
// if same product id, we don't care,
218-
// since it wouldn't be a conflict if they exist in another storeview
219217
} elseif ($productId !== $conflictingProductId) {
218+
// ^^^ if same product id, we don't care,
219+
// since it wouldn't be a conflict if they exist in another storeview
220+
220221
if (array_key_exists("$conflictingStoreId-$productId", $inheritedProductUrlKeyData)
221222
&& $inheritedProductUrlKeyData["$conflictingStoreId-$productId"] === $urlKey
222223
) {

Storage/Meta.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ public function isRefreshing(string $storageIdentifier): bool
9191

9292
$metaData = $this->storage->read($storageIdentifier);
9393

94-
if (!empty($metaData) &&
95-
array_key_exists('status', $metaData) &&
96-
$metaData['status'] === self::STATUS_REFRESHING
94+
if (!empty($metaData)
95+
&& array_key_exists('status', $metaData)
96+
&& $metaData['status'] === self::STATUS_REFRESHING
9797
) {
9898
return true;
9999
}

0 commit comments

Comments
 (0)