Skip to content
Snippets Groups Projects
Commit dc5b783b authored by Josef Moravec's avatar Josef Moravec Committed by Robert Lange
Browse files

Fix Redis session handler (#1464)

parent a773e8ab
Branches
Tags
No related merge requests found
......@@ -72,8 +72,8 @@ class Redis extends AbstractBase
$timeout = $this->config->redis_connection_timeout ?? 0.5;
$auth = $this->config->redis_auth ?? false;
$redis_db = $this->config->redis_db ?? 0;
$this->redisVersion = int($this->config->redis_version ?? 3);
$standalone = bool($this->config->redis_standalone ?? true);
$this->redisVersion = (int)($this->config->redis_version ?? 3);
$standalone = (bool)($this->config->redis_standalone ?? true);
// Create Credis client, the connection is established lazily
$this->connection = new \Credis_Client(
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment