Skip to content
Snippets Groups Projects
Unverified Commit bc9eec92 authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Fix phpdoc / property declaration

parent 4938bed6
No related branches found
No related tags found
No related merge requests found
...@@ -129,9 +129,9 @@ class SimpleSAML_Session implements Serializable ...@@ -129,9 +129,9 @@ class SimpleSAML_Session implements Serializable
* *
* This is an array with authentication data for the various authsources. * 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 ...@@ -142,8 +142,6 @@ class SimpleSAML_Session implements Serializable
*/ */
private function __construct($transient = false) private function __construct($transient = false)
{ {
$this->authData = array();
if (php_sapi_name() === 'cli' || defined('STDIN')) { if (php_sapi_name() === 'cli' || defined('STDIN')) {
$this->trackid = 'CL'.bin2hex(openssl_random_pseudo_bytes(4)); $this->trackid = 'CL'.bin2hex(openssl_random_pseudo_bytes(4));
SimpleSAML\Logger::setTrackId($this->trackid); SimpleSAML\Logger::setTrackId($this->trackid);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment