mirror of
https://github.com/predis/predis.git
synced 2026-09-12 19:37:05 +00:00
Rename method.
This commit is contained in:
@@ -48,7 +48,7 @@ class Client implements ClientInterface
|
||||
{
|
||||
$this->options = $this->createOptions($options);
|
||||
$this->profile = $this->options->profile;
|
||||
$this->connection = $this->initializeConnection($parameters);
|
||||
$this->connection = $this->createConnection($parameters);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -84,7 +84,7 @@ class Client implements ClientInterface
|
||||
* @param mixed $parameters Connection parameters or instance.
|
||||
* @return ConnectionInterface
|
||||
*/
|
||||
protected function initializeConnection($parameters)
|
||||
protected function createConnection($parameters)
|
||||
{
|
||||
if ($parameters instanceof ConnectionInterface) {
|
||||
return $parameters;
|
||||
|
||||
Reference in New Issue
Block a user