Skip to content

Commit 55d1599

Browse files
committed
#511: Content Snapshot on Product Page in Admin Panel
- Fixing Static Tests
1 parent 87985d7 commit 55d1599

File tree

2 files changed

+11
-5
lines changed
  • app/code/Magento/PageBuilder

2 files changed

+11
-5
lines changed

app/code/Magento/PageBuilder/Plugin/Catalog/Ui/DataProvider/Product/Form/Modifier/EavPlugin.php

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,16 @@ public function __construct(ArrayManager $arrayManager)
4141
* @param string $groupCode
4242
* @param int $sortOrder
4343
* @return array
44+
*
45+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
4446
*/
4547
public function afterSetupAttributeMeta(
4648
EavModifier $subject,
4749
$result,
4850
ProductAttributeInterface $attribute,
4951
$groupCode,
5052
$sortOrder
51-
)
52-
{
53+
) {
5354
$meta = $result;
5455

5556
if ($attribute->getData('is_pagebuilder_enabled')) {
@@ -72,9 +73,14 @@ public function afterSetupAttributeMeta(
7273
* @param array $result
7374
* @param ProductAttributeInterface $attribute
7475
* @return array
76+
*
77+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
7578
*/
76-
public function afterSetupAttributeContainerMeta(EavModifier $subject, $result, ProductAttributeInterface $attribute)
77-
{
79+
public function afterSetupAttributeContainerMeta(
80+
EavModifier $subject,
81+
$result,
82+
ProductAttributeInterface $attribute
83+
) {
7884
$containerMeta = $result;
7985

8086
if ($attribute->getData('is_pagebuilder_enabled')) {

app/code/Magento/PageBuilder/view/adminhtml/web/css/source/_config.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
}
6666
}
6767

68-
// Product
68+
/* Product */
6969
> fieldset.admin__field-page-builder {
7070
.admin__field-label {
7171
text-align: left;

0 commit comments

Comments
 (0)