Skip to content

Commit 073b82a

Browse files
Merge branch 'AC-13918' into cia-2.4.8-develop-bugfix-03052025
2 parents a2932f6 + 50e1638 commit 073b82a

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

lib/internal/Magento/Framework/Stdlib/Cookie/PhpCookieManager.php

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2025 Adobe
4+
* All Rights Reserved.
5+
*
6+
* NOTICE: All information contained herein is, and remains
7+
* the property of Adobe and its suppliers, if any. The intellectual
8+
* and technical concepts contained herein are proprietary to Adobe
9+
* and its suppliers and are protected by all applicable intellectual
10+
* property laws, including trade secret and copyright laws.
11+
* Dissemination of this information or reproduction of this material
12+
* is strictly forbidden unless prior written permission is obtained
13+
* from Adobe.
514
*/
615
declare(strict_types=1);
716

@@ -31,16 +40,16 @@ class PhpCookieManager implements CookieManagerInterface
3140
* RFC 2109 - Page 15
3241
* http://www.ietf.org/rfc/rfc6265.txt
3342
*/
34-
private const MAX_NUM_COOKIES = 50;
43+
public const MAX_NUM_COOKIES = 50;
3544
public const MAX_COOKIE_SIZE = 4096;
36-
private const EXPIRE_NOW_TIME = 1;
37-
private const EXPIRE_AT_END_OF_SESSION_TIME = 0;
45+
public const EXPIRE_NOW_TIME = 1;
46+
public const EXPIRE_AT_END_OF_SESSION_TIME = 0;
3847
/**#@-*/
3948

4049
/**#@+
4150
* Constant for metadata array key
4251
*/
43-
private const KEY_EXPIRE_TIME = 'expiry';
52+
public const KEY_EXPIRE_TIME = 'expiry';
4453
/**#@-*/
4554

4655
/**

0 commit comments

Comments
 (0)