Skip to content

Commit 1ebbe34

Browse files
author
lakshmana
committed
ACP2E-1646 : Page Builder CORS errors prevent product save.
-Fixed static test failures
1 parent 55b1a09 commit 1ebbe34

File tree

1 file changed

+2
-1
lines changed
  • app/code/Magento/PageBuilder/Component/Form/Element

1 file changed

+2
-1
lines changed

app/code/Magento/PageBuilder/Component/Form/Element/Wysiwyg.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
class Wysiwyg extends \Magento\Ui\Component\Form\Element\Wysiwyg
2929
{
3030

31-
public const ADMIN_RESOURCE = 'Magento_Backend::content';
31+
private const ADMIN_RESOURCE = 'Magento_Backend::content';
3232

3333
/**
3434
* @var Repository
@@ -55,6 +55,7 @@ class Wysiwyg extends \Magento\Ui\Component\Form\Element\Wysiwyg
5555
* @param PageBuilderConfig|null $pageBuilderConfig
5656
* @param bool $overrideSnapshot
5757
* @param Repository|null $assetRepo
58+
* @param AuthorizationInterface|null $authorization
5859
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
5960
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
6061
* @SuppressWarnings(PHPMD.NPathComplexity)

0 commit comments

Comments
 (0)