X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fsession%2FSessionInfo.php;h=882eb390ccb0949cecfa00392f32e94f41ce20bb;hb=825d66bfa44c5dae2b78e2fe4f3b16f16aff4a12;hp=577e03a264293ff118e58cf0aa6d22003dac61fb;hpb=5623d4c64319a98ddd8263c597002d173464ccbf;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/session/SessionInfo.php b/includes/session/SessionInfo.php index 577e03a264..882eb390cc 100644 --- a/includes/session/SessionInfo.php +++ b/includes/session/SessionInfo.php @@ -50,10 +50,19 @@ class SessionInfo { /** @var UserInfo|null */ private $userInfo = null; + /** @var bool */ private $persisted = false; + + /** @var bool */ private $remembered = false; + + /** @var bool */ private $forceHTTPS = false; + + /** @var bool */ private $idIsSafe = false; + + /** @var bool */ private $forceUse = false; /** @var array|null */ @@ -147,6 +156,7 @@ class SessionInfo { $this->idIsSafe = $data['idIsSafe']; $this->forceUse = $data['forceUse'] && $this->provider; } else { + // @phan-suppress-next-line PhanUndeclaredMethod $this->id = $this->provider->getManager()->generateSessionId(); $this->idIsSafe = true; $this->forceUse = false;