Skip to content

Commit 64c9f74

Browse files
committed
34569: Fix Magento OS codebase for Integration Tests to be compatible with PHP 8.1
- fix for static test
1 parent c29e938 commit 64c9f74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

0 commit comments

Comments
 (0)