Remove useless method.

This commit is contained in:
Daniele Alessandri
2016-06-17 14:13:02 +02:00
parent 8de97ffe1a
commit 028992cf1b
+1 -13
View File
@@ -33,7 +33,7 @@ class Parameters implements ParametersInterface
*/
public function __construct(array $parameters = array())
{
$this->parameters = $this->filter($parameters) + $this->getDefaults();
$this->parameters = $parameters + $this->getDefaults();
}
/**
@@ -136,18 +136,6 @@ class Parameters implements ParametersInterface
return $this->parameters;
}
/**
* Validates and converts each value of the connection parameters array.
*
* @param array $parameters Connection parameters.
*
* @return array
*/
protected function filter(array $parameters)
{
return $parameters ?: array();
}
/**
* {@inheritdoc}
*/