Skip to content

Commit 58e8010

Browse files
committed
Fixed Static Tests
1 parent c4a39ff commit 58e8010

File tree

2 files changed

+8
-8
lines changed
  • app/code/Magento/Sales/Helper
  • lib/internal/Magento/Framework/View/Model/Layout

2 files changed

+8
-8
lines changed

app/code/Magento/Sales/Helper/Guest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,17 @@ class Guest extends \Magento\Framework\App\Helper\AbstractHelper
6767
/**
6868
* Cookie key for guest view
6969
*/
70-
const COOKIE_NAME = 'guest-view';
70+
public const COOKIE_NAME = 'guest-view';
7171

7272
/**
7373
* Cookie path value
7474
*/
75-
const COOKIE_PATH = '/';
75+
public const COOKIE_PATH = '/';
7676

7777
/**
7878
* Cookie lifetime value
7979
*/
80-
const COOKIE_LIFETIME = 600;
80+
public const COOKIE_LIFETIME = 600;
8181

8282
/**
8383
* @var \Magento\Store\Model\StoreManagerInterface

lib/internal/Magento/Framework/View/Model/Layout/Merge.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,27 +25,27 @@ class Merge implements \Magento\Framework\View\Layout\ProcessorInterface
2525
/**
2626
* Layout abstraction based on designer prerogative.
2727
*/
28-
const DESIGN_ABSTRACTION_CUSTOM = 'custom';
28+
public const DESIGN_ABSTRACTION_CUSTOM = 'custom';
2929

3030
/**
3131
* Layout generalization guaranteed to load into View
3232
*/
33-
const DESIGN_ABSTRACTION_PAGE_LAYOUT = 'page_layout';
33+
public const DESIGN_ABSTRACTION_PAGE_LAYOUT = 'page_layout';
3434

3535
/**
3636
* XPath of handles originally declared in layout updates
3737
*/
38-
const XPATH_HANDLE_DECLARATION = '/layout[@design_abstraction]';
38+
public const XPATH_HANDLE_DECLARATION = '/layout[@design_abstraction]';
3939

4040
/**
4141
* Name of an attribute that stands for data type of node values
4242
*/
43-
const TYPE_ATTRIBUTE = 'xsi:type';
43+
public const TYPE_ATTRIBUTE = 'xsi:type';
4444

4545
/**
4646
* Cache id suffix for page layout
4747
*/
48-
const PAGE_LAYOUT_CACHE_SUFFIX = 'page_layout_merged';
48+
public const PAGE_LAYOUT_CACHE_SUFFIX = 'page_layout_merged';
4949

5050
/**
5151
* Default cache life time

0 commit comments

Comments
 (0)