dependencies-upgrade

This commit is contained in:
RafficMohammed
2023-01-08 02:20:59 +05:30
parent 7870479b18
commit 49021a4497
1711 changed files with 74994 additions and 70803 deletions

View File

@@ -47,7 +47,10 @@ class FileSessionHandler implements SessionHandlerInterface
/**
* {@inheritdoc}
*
* @return bool
*/
#[\ReturnTypeWillChange]
public function open($savePath, $sessionName)
{
return true;
@@ -55,7 +58,10 @@ class FileSessionHandler implements SessionHandlerInterface
/**
* {@inheritdoc}
*
* @return bool
*/
#[\ReturnTypeWillChange]
public function close()
{
return true;
@@ -63,7 +69,10 @@ class FileSessionHandler implements SessionHandlerInterface
/**
* {@inheritdoc}
*
* @return string|false
*/
#[\ReturnTypeWillChange]
public function read($sessionId)
{
if ($this->files->isFile($path = $this->path.'/'.$sessionId)) {
@@ -77,7 +86,10 @@ class FileSessionHandler implements SessionHandlerInterface
/**
* {@inheritdoc}
*
* @return bool
*/
#[\ReturnTypeWillChange]
public function write($sessionId, $data)
{
$this->files->put($this->path.'/'.$sessionId, $data, true);
@@ -87,7 +99,10 @@ class FileSessionHandler implements SessionHandlerInterface
/**
* {@inheritdoc}
*
* @return bool
*/
#[\ReturnTypeWillChange]
public function destroy($sessionId)
{
$this->files->delete($this->path.'/'.$sessionId);
@@ -97,7 +112,10 @@ class FileSessionHandler implements SessionHandlerInterface
/**
* {@inheritdoc}
*
* @return int|false
*/
#[\ReturnTypeWillChange]
public function gc($lifetime)
{
$files = Finder::create()