diff --git a/src/Kdyby/Redis/Driver/PhpRedisDriver.php b/src/Kdyby/Redis/Driver/PhpRedisDriver.php index f2b5e1f..4980b20 100644 --- a/src/Kdyby/Redis/Driver/PhpRedisDriver.php +++ b/src/Kdyby/Redis/Driver/PhpRedisDriver.php @@ -24,7 +24,7 @@ class PhpRedisDriver extends \Redis implements Kdyby\Redis\IRedisDriver /** * {@inheritdoc} */ - public function connect($host, $port = NULL, $timeout = NULL, $retry_interval = NULL) + public function connect($host, $port = NULL, $timeout = NULL, $persistent_id = NULL, $retry_interval = NULL, $read_timeout = NULL, $context = NULL) { $args = func_get_args(); return call_user_func_array('parent::connect', $args); diff --git a/src/Kdyby/Redis/IRedisDriver.php b/src/Kdyby/Redis/IRedisDriver.php index 45bcd0a..f8ae623 100644 --- a/src/Kdyby/Redis/IRedisDriver.php +++ b/src/Kdyby/Redis/IRedisDriver.php @@ -180,7 +180,7 @@ function isConnected(); * @param int $timeout value in seconds (optional, default is 0 meaning unlimited) * @return bool */ - function connect($host, $port = NULL, $timeout = NULL, $retry_interval = NULL); + function connect($host, $port = NULL, $timeout = NULL, $persistent_id = NULL, $retry_interval = NULL, $read_timeout = NULL, $context = NULL); /** * Change the selected database for the current connection.