瀏覽代碼

Fix wrong method visibility.

Daniele Alessandri 13 年之前
父節點
當前提交
da25d6b6ff
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/Predis/Commands/PrefixHelpers.php

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

@@ -24,7 +24,7 @@ class PrefixHelpers
      * @param ICommand $command Command instance.
      * @param string $prefix Prefix string.
      */
-    protected function first(ICommand $command, $prefix) {
+    public function first(ICommand $command, $prefix) {
         $arguments = $command->getArguments();
 
         $arguments[0] = "$prefix{$arguments[0]}";