Found while adding strict typing for PHP7+. Signed-off-by: Morris Jobke <hey@morrisjobke.de>tags/v14.0.0beta1
} | } | ||||
protected function initializeSession() { | protected function initializeSession() { | ||||
$encryptedSessionData = $this->session->get(self::encryptedSessionName); | |||||
$encryptedSessionData = $this->session->get(self::encryptedSessionName) ?: ''; | |||||
try { | try { | ||||
$this->sessionValues = json_decode( | $this->sessionValues = json_decode( | ||||
$this->crypto->decrypt($encryptedSessionData, $this->passphrase), | $this->crypto->decrypt($encryptedSessionData, $this->passphrase), |