Skip to content

Commit 91c8979

Browse files
committed
ACP2E-3864: Update copyrights for PB and fix static failures
1 parent f12d516 commit 91c8979

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/code/Magento/PageBuilder/Controller/Adminhtml/Form/Element/ProductConditions.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ public function __construct(
4343

4444
/**
4545
* @inheritDoc
46-
* @SuppressWarnings(PHPMD.AllPurposeAction)
4746
*/
4847
public function execute()
4948
{
@@ -60,7 +59,7 @@ public function execute()
6059
// The Combine class doesn't need the data attribute on children but we do.
6160
$this->configureConditionsFormName($conditions, $formName);
6261
$result = $conditions->asHtmlRecursive();
63-
$this->getResponse()->setBody($result);
62+
return $this->getResponse()->setBody($result);
6463
}
6564

6665
/**

0 commit comments

Comments
 (0)