Jelajahi Sumber

Fix mistype in the ServerEval class.

Daniele Alessandri 14 tahun lalu
induk
melakukan
367ca6e31e
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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()
     public function getScriptHash()
     {
     {
-        returns sha1($this->getArgument(0));
+        return sha1($this->getArgument(0));
     }
     }
 }
 }