소스 검색

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

Daniele Alessandri 15 년 전
부모
커밋
8d4958a516
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/Predis.php

+ 1 - 1
lib/Predis.php

@@ -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) {