Explorar o código

Fix wrong method visibility.

Daniele Alessandri %!s(int64=13) %!d(string=hai) anos
pai
achega
da25d6b6ff
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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]}";