Skip to content

Commit 3bafad9

Browse files
committed
Merge remote-tracking branch 'karyna/fix-previously-delivered-static-tests-issues' into platform-health
2 parents 09c2b69 + 30f3572 commit 3bafad9

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

lib/internal/Magento/Framework/App/Cache/Frontend/Pool.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Pool implements \Iterator
1717
/**
1818
* Frontend identifier associated with the default settings
1919
*/
20-
const DEFAULT_FRONTEND_ID = 'default';
20+
public const DEFAULT_FRONTEND_ID = 'default';
2121

2222
/**
2323
* @var DeploymentConfig

lib/internal/Magento/Framework/DB/Query/BatchIteratorInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ interface BatchIteratorInterface extends \Iterator
1414
* Constant which determine strategy to create iterator which will to process
1515
* range field eg. entity_id with unique values.
1616
*/
17-
const UNIQUE_FIELD_ITERATOR = "unique";
17+
public const UNIQUE_FIELD_ITERATOR = "unique";
1818

1919
/**
2020
* Constant which determine strategy to create iterator which will to process
2121
* range field with non-unique values.
2222
*/
23-
const NON_UNIQUE_FIELD_ITERATOR = "non_unqiue";
23+
public const NON_UNIQUE_FIELD_ITERATOR = "non_unqiue";
2424

2525
/**
2626
* Return the current element

lib/internal/Magento/Framework/Data/Collection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
*/
2222
class Collection implements \IteratorAggregate, \Countable, ArrayInterface, CollectionDataSourceInterface
2323
{
24-
const SORT_ORDER_ASC = 'ASC';
24+
public const SORT_ORDER_ASC = 'ASC';
2525

26-
const SORT_ORDER_DESC = 'DESC';
26+
public const SORT_ORDER_DESC = 'DESC';
2727

2828
/**
2929
* Collection items

lib/internal/Magento/Framework/View/Asset/Merged.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class Merged implements \Iterator
1515
/**
1616
* Directory for dynamically generated public view files, relative to STATIC_VIEW
1717
*/
18-
const CACHE_VIEW_REL = '_cache';
18+
public const CACHE_VIEW_REL = '_cache';
1919

2020
/**
2121
* @var \Psr\Log\LoggerInterface

0 commit comments

Comments
 (0)