Fix type in CryptoSessionData
Found while adding strict typing for PHP7+. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
e4e39910f3
commit
fe0dbe7fb7
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ class CryptoSessionData implements \ArrayAccess, ISession {
|
|||
}
|
||||
|
||||
protected function initializeSession() {
|
||||
$encryptedSessionData = $this->session->get(self::encryptedSessionName);
|
||||
$encryptedSessionData = $this->session->get(self::encryptedSessionName) ?: '';
|
||||
try {
|
||||
$this->sessionValues = json_decode(
|
||||
$this->crypto->decrypt($encryptedSessionData, $this->passphrase),
|
||||
|
|
Loading…
Reference in a new issue