This commit is contained in:
Paolo A
2024-08-13 13:44:16 +00:00
parent 1bbb23088d
commit e796d76612
4001 changed files with 30101 additions and 40075 deletions

View File

@@ -8,7 +8,10 @@ class NullSessionHandler implements SessionHandlerInterface
{
/**
* {@inheritdoc}
*
* @return bool
*/
#[\ReturnTypeWillChange]
public function open($savePath, $sessionName)
{
return true;
@@ -16,7 +19,10 @@ class NullSessionHandler implements SessionHandlerInterface
/**
* {@inheritdoc}
*
* @return bool
*/
#[\ReturnTypeWillChange]
public function close()
{
return true;
@@ -24,7 +30,10 @@ class NullSessionHandler implements SessionHandlerInterface
/**
* {@inheritdoc}
*
* @return string|false
*/
#[\ReturnTypeWillChange]
public function read($sessionId)
{
return '';
@@ -32,7 +41,10 @@ class NullSessionHandler implements SessionHandlerInterface
/**
* {@inheritdoc}
*
* @return bool
*/
#[\ReturnTypeWillChange]
public function write($sessionId, $data)
{
return true;
@@ -40,7 +52,10 @@ class NullSessionHandler implements SessionHandlerInterface
/**
* {@inheritdoc}
*
* @return bool
*/
#[\ReturnTypeWillChange]
public function destroy($sessionId)
{
return true;
@@ -48,7 +63,10 @@ class NullSessionHandler implements SessionHandlerInterface
/**
* {@inheritdoc}
*
* @return int|false
*/
#[\ReturnTypeWillChange]
public function gc($lifetime)
{
return true;