mirror of
https://github.com/predis/predis.git
synced 2026-10-17 01:06:20 +00:00
Rename a few protected/private field names.
This commit is contained in:
@@ -35,7 +35,7 @@ class StreamConnection extends ConnectionBase
|
||||
*/
|
||||
public function __destruct()
|
||||
{
|
||||
if (!$this->params->connection_persistent) {
|
||||
if (!$this->parameters->connection_persistent) {
|
||||
$this->disconnect();
|
||||
}
|
||||
}
|
||||
@@ -54,7 +54,7 @@ class StreamConnection extends ConnectionBase
|
||||
*/
|
||||
protected function createResource()
|
||||
{
|
||||
$parameters = $this->params;
|
||||
$parameters = $this->parameters;
|
||||
$initializer = "{$parameters->scheme}StreamInitializer";
|
||||
|
||||
return $this->$initializer($parameters);
|
||||
|
||||
Reference in New Issue
Block a user