File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/JuanF/Lib/Persistence Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,9 +24,9 @@ interface PersistenceInterface
2424
2525 /**
2626 * Init backend
27- * @param array $config Optional
27+ * @param mixed $params Optional
2828 */
29- static function init ($ config = null );
29+ static function init ($ params = null );
3030
3131 /**
3232 * Get the given bits for the key.
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ public static function init($params)
4141 self ::$ port = isset ($ params ['port ' ]) ? $ params ['port ' ] : self ::$ port ;
4242 }
4343
44- if (!(self ::$ redisInstance instanceof Redis)) {
44+ if (!(self ::$ redisInstance instanceof \ Redis)) {
4545 self ::$ redisInstance = new \Redis ();
4646 self ::$ redisInstance ->connect (self ::$ host , self ::$ port );
4747 self ::$ redisInstance ->setOption (\Redis::OPT_SERIALIZER , \Redis::SERIALIZER_PHP );
You can’t perform that action at this time.
0 commit comments