Skip to content

Commit 1492fca

Browse files
Nazar65sivaschenko
authored andcommitted
Static test fix
1 parent b3443c7 commit 1492fca

File tree

1 file changed

+4
-2
lines changed
  • lib/internal/Magento/Framework/Data/Form/Element

1 file changed

+4
-2
lines changed

lib/internal/Magento/Framework/Data/Form/Element/Editor.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,9 +309,11 @@ protected function _getPluginButtonsHtml($visible = true)
309309
$configStyle = '';
310310
if (isset($buttonOptions['style'])) {
311311
$configStyle = $buttonOptions['style'];
312-
}
312+
}
313+
// phpcs:disable Magento2.Performance.ForeachArrayMerge
313314
$buttonOptions = array_merge($buttonOptions, ['style' => 'display:none;' . $configStyle]);
314-
}
315+
// phpcs:enable
316+
}
315317
$buttonsHtml .= $this->_getButtonHtml($buttonOptions);
316318
}
317319
}

0 commit comments

Comments
 (0)