Skip to content
Snippets Groups Projects
Commit 52941ca4 authored by Tim van Dijen's avatar Tim van Dijen
Browse files

Fix Psalm-issues

parent 660fab4b
No related branches found
No related tags found
No related merge requests found
...@@ -50,7 +50,7 @@ class SessionHandlerPHP extends SessionHandler ...@@ -50,7 +50,7 @@ class SessionHandlerPHP extends SessionHandler
$config = Configuration::getInstance(); $config = Configuration::getInstance();
$this->cookie_name = $config->getString( $this->cookie_name = $config->getString(
'session.phpsession.cookiename', 'session.phpsession.cookiename',
ini_get('session.name') ?? 'PHPSESSID' ini_get('session.name') ?: 'PHPSESSID'
); );
if (session_status() === PHP_SESSION_ACTIVE) { if (session_status() === PHP_SESSION_ACTIVE) {
......
...@@ -33,6 +33,9 @@ class CryptoTest extends TestCase ...@@ -33,6 +33,9 @@ class CryptoTest extends TestCase
/** @var string */ /** @var string */
protected string $certdir; protected string $certdir;
/** @var \SimpleSAML\Configuration */
protected Configuration $config;
/** @var \SimpleSAML\Utils\Crypto */ /** @var \SimpleSAML\Utils\Crypto */
protected $cryptoUtils; protected $cryptoUtils;
......
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