mirror of
https://github.com/predis/predis.git
synced 2026-09-13 03:47:03 +00:00
The second parameter for RedisServerProfile::createCommandInstance is now optional.
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user