Skip to content

Commit e5da1a7

Browse files
AC-1170 Fix backward incompatiblility
1 parent c4707b7 commit e5da1a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/internal/Magento/Framework/Session/SaveHandler.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ public function read($sessionId): string
146146
* @return bool
147147
* @throws LocalizedException
148148
*/
149-
public function write($sessionId, $data): bool
149+
#[\ReturnTypeWillChange]
150+
public function write($sessionId, $data)
150151
{
151152
$sessionMaxSize = $this->sessionMaxSizeConfig->getSessionMaxSize();
152153
$sessionSize = strlen($data);

0 commit comments

Comments
 (0)