Эх сурвалжийг харах

Make Predis\Command::getArguments() a public method.

Daniele Alessandri 15 жил өмнө
parent
commit
25ac5c3ca4
1 өөрчлөгдсөн 1 нэмэгдсэн , 2 устгасан
  1. 1 2
      lib/Predis.php

+ 1 - 2
lib/Predis.php

@@ -430,8 +430,7 @@ abstract class Command {
         $this->_hash = null;
     }
 
-    protected function getArguments() {
-        // TODO: why getArguments is protected?
+    public function getArguments() {
         return isset($this->_arguments) ? $this->_arguments : array();
     }