mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
N°8017 - Security - dependabot - Symfony's VarDumper vulnerable to un… (#731)
Upgrade all Symfony components to last security fix (~6.4.0)
This commit is contained in:
@@ -30,7 +30,7 @@ class MockFileSessionStorage extends MockArraySessionStorage
|
||||
/**
|
||||
* @param string|null $savePath Path of directory to save session files
|
||||
*/
|
||||
public function __construct(string $savePath = null, string $name = 'MOCKSESSID', MetadataBag $metaBag = null)
|
||||
public function __construct(?string $savePath = null, string $name = 'MOCKSESSID', ?MetadataBag $metaBag = null)
|
||||
{
|
||||
$savePath ??= sys_get_temp_dir();
|
||||
|
||||
@@ -60,7 +60,7 @@ class MockFileSessionStorage extends MockArraySessionStorage
|
||||
return true;
|
||||
}
|
||||
|
||||
public function regenerate(bool $destroy = false, int $lifetime = null): bool
|
||||
public function regenerate(bool $destroy = false, ?int $lifetime = null): bool
|
||||
{
|
||||
if (!$this->started) {
|
||||
$this->start();
|
||||
|
||||
Reference in New Issue
Block a user