Explorar o código

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

Daniele Alessandri %!s(int64=15) %!d(string=hai) anos
pai
achega
6ea96e82f9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;