Skip to content

Commit 4229f32

Browse files
committed
ACP2E-3864: Update copyrights for PB and fix static failures
1 parent ca79204 commit 4229f32

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

app/code/Magento/PageBuilder/Plugin/Filter/TemplatePlugin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
*/
1616
class TemplatePlugin
1717
{
18-
const BACKGROUND_IMAGE_PATTERN = '/data-background-images=(?:\'|"){.+}(?:\'|")/si';
18+
public const BACKGROUND_IMAGE_PATTERN = '/data-background-images=(?:\'|"){.+}(?:\'|")/si';
1919

20-
const HTML_CONTENT_TYPE_PATTERN = '/data-content-type="html"/si';
20+
public const HTML_CONTENT_TYPE_PATTERN = '/data-content-type="html"/si';
2121

2222
/**
2323
* @var TemplateFilter

app/code/Magento/PageBuilder/Plugin/Result/Page.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
class Page
1515
{
1616
/**
17+
* Adjusts the layout handles classes to the body when using full width variants
18+
*
1719
* @param ResultPage $subject
1820
* @param ResponseInterface $response
1921
* @return array

app/code/Magento/PageBuilder/Ui/Component/Listing/Columns/BlockStatus.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
class BlockStatus extends \Magento\Ui\Component\Listing\Columns\Column
1515
{
1616
/** Status column name used to get its column value */
17-
const SOURCE_FIELD_NAME = 'is_active';
17+
public const SOURCE_FIELD_NAME = 'is_active';
1818

1919
/**
2020
* Prepare Data Source

app/code/Magento/PageBuilder/Ui/Component/Listing/Columns/PreviewImage.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
*/
1919
class PreviewImage extends Column
2020
{
21-
const NAME = 'preview_image';
21+
public const NAME = 'preview_image';
2222

23-
const ALT_FIELD = 'name';
23+
public const ALT_FIELD = 'name';
2424

2525
/**
2626
* @var UrlInterface

app/code/Magento/PageBuilder/Ui/Component/UrlInput/Page.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function __construct(\Magento\PageBuilder\Ui\Component\UrlInput\Page\Opti
2525
}
2626

2727
/**
28-
* {@inheritdoc}
28+
* @inheritdoc
2929
*/
3030
public function getConfig(): array
3131
{

0 commit comments

Comments
 (0)