Browse Source

Fix wrong method visibility.

Daniele Alessandri 13 năm trước cách đây
mục cha
commit
da25d6b6ff
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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]}";