We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c65ee8 commit 9dd6f1bCopy full SHA for 9dd6f1b
src/JuanF/Lib/Persistence/Redis.php
@@ -34,7 +34,7 @@ class Redis extends Persistence
34
*/
35
public static function init($params)
36
{
37
- if ($params instanceof Redis) {
+ if ($params instanceof \Redis) {
38
self::$redisInstance = $params;
39
} elseif (is_array($params)) {
40
self::$host = isset($params['host']) ? $params['host'] : self::$host;
0 commit comments