From bc9eec92a6d6324d6b45ed39b71036f1f23956f8 Mon Sep 17 00:00:00 2001 From: Tim van Dijen <tvdijen@gmail.com> Date: Thu, 4 Jan 2018 16:04:58 +0100 Subject: [PATCH] Fix phpdoc / property declaration --- lib/SimpleSAML/Session.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/SimpleSAML/Session.php b/lib/SimpleSAML/Session.php index 6eb306cf8..f7bb281fb 100644 --- a/lib/SimpleSAML/Session.php +++ b/lib/SimpleSAML/Session.php @@ -129,9 +129,9 @@ class SimpleSAML_Session implements Serializable * * This is an array with authentication data for the various authsources. * - * @var array|null Associative array of associative arrays. + * @var array Associative array of associative arrays. */ - private $authData; + private $authData = array(); /** @@ -142,8 +142,6 @@ class SimpleSAML_Session implements Serializable */ private function __construct($transient = false) { - $this->authData = array(); - if (php_sapi_name() === 'cli' || defined('STDIN')) { $this->trackid = 'CL'.bin2hex(openssl_random_pseudo_bytes(4)); SimpleSAML\Logger::setTrackId($this->trackid); -- GitLab