Sfoglia il codice sorgente

Minor formatting change.

Daniele Alessandri 14 anni fa
parent
commit
978d7087d5
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      lib/Predis.php

+ 2 - 2
lib/Predis.php

@@ -1737,8 +1737,8 @@ class TextCommandSerializer implements ICommandSerializer {
         $commandId = $command->getCommandId();
         $arguments = $command->getArguments();
 
-        $cmdlen  = strlen($commandId);
-        $reqlen  = count($arguments) + 1;
+        $cmdlen = strlen($commandId);
+        $reqlen = count($arguments) + 1;
 
         $buffer = "*{$reqlen}\r\n\${$cmdlen}\r\n{$commandId}\r\n";
         for ($i = 0; $i < $reqlen - 1; $i++) {