浏览代码

Make Predis\Command::serializeRequest() a protected method.

Daniele Alessandri 15 年之前
父节点
当前提交
6ea96e82f9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/Predis.php

+ 1 - 1
lib/Predis.php

@@ -433,7 +433,7 @@ abstract class Command {
 
     public abstract function getCommandId();
 
-    public function serializeRequest($command, $arguments) {
+    protected function serializeRequest($command, $arguments) {
         $newline = Protocol::NEWLINE;
         $cmdlen  = strlen($command);
         $reqlen  = count($arguments) + 1;