Преглед изворни кода

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]}";