Selaa lähdekoodia

Remove useless code.

Daniele Alessandri 14 vuotta sitten
vanhempi
commit
3181f6c592
1 muutettua tiedostoa jossa 1 lisäystä ja 5 poistoa
  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;
     }
 }