Skip to content

Commit 7f84cb5

Browse files
Fix maximum limit of 120 characters per line
1 parent 159ad64 commit 7f84cb5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/code/Magento/Swatches/Model/Plugin/EavAttribute.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,9 @@ protected function prepareOptionIds(array $optionsArray)
174174
{
175175
if (isset($optionsArray['value']) && is_array($optionsArray['value'])) {
176176
foreach (array_keys($optionsArray['value']) as $optionId) {
177-
if (isset($optionsArray['delete']) && isset($optionsArray['delete'][$optionId]) && $optionsArray['delete'][$optionId] == 1) {
177+
if (isset($optionsArray['delete']) && isset($optionsArray['delete'][$optionId])
178+
&& $optionsArray['delete'][$optionId] == 1
179+
) {
178180
unset($optionsArray['value'][$optionId]);
179181
}
180182
}

0 commit comments

Comments
 (0)