Browse Source

Remove useless code.

Daniele Alessandri 14 năm trước cách đây
mục cha
commit
3181f6c592
1 tập tin đã thay đổi với 1 bổ sung5 xóa
  1. 1 5
      lib/Predis/ConnectionParameters.php

+ 1 - 5
lib/Predis/ConnectionParameters.php

@@ -150,10 +150,6 @@ class ConnectionParameters {
     }
 
     public function toArray() {
-        $parameters = array();
-        foreach ($this->_parameters as $k => $v) {
-            $parameters[$k] = $v;
-        }
-        return $parameters;
+        return $this->_parameters;
     }
 }