Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Kdyby/Redis/Driver/PhpRedisDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/Kdyby/Redis/IRedisDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down