The second parameter for RedisServerProfile::createCommandInstance is now optional.

This commit is contained in:
Daniele Alessandri
2009-12-18 22:02:30 +01:00
parent 6e76fbf660
commit 3ccbff4277
+1 -1
View File
@@ -631,7 +631,7 @@ abstract class RedisServerProfile {
protected abstract function getSupportedCommands();
public function createCommandInstance($method, $arguments) {
public function createCommandInstance($method, $arguments = array()) {
$commandClass = $this->_registeredCommands[$method];
if ($commandClass === null) {