mirror of
https://github.com/predis/predis.git
synced 2026-09-04 14:56:47 +00:00
The second parameter for Client::createCommandInstance is now optional.
This commit is contained in:
+1
-1
@@ -92,7 +92,7 @@ class Client {
|
||||
return $this->executeCommand($command);
|
||||
}
|
||||
|
||||
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