Browse Source

Fix mistype in the ServerEval class.

Daniele Alessandri 14 năm trước cách đây
mục cha
commit
367ca6e31e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lib/Predis/Commands/ServerEval.php

+ 1 - 1
lib/Predis/Commands/ServerEval.php

@@ -54,6 +54,6 @@ class ServerEval extends Command
      */
     public function getScriptHash()
     {
-        returns sha1($this->getArgument(0));
+        return sha1($this->getArgument(0));
     }
 }