mirror of
https://github.com/predis/predis.git
synced 2026-10-29 07:06:26 +00:00
Rename Predis\Connection\SingleConnectionInterface::pushInitCommand().
The new name is more explicit as it makes obvious that the commands added with it will be executed upon connect().
This commit is contained in:
@@ -130,8 +130,8 @@ class StreamConnection extends AbstractConnection
|
||||
{
|
||||
parent::connect();
|
||||
|
||||
if ($this->initCmds) {
|
||||
foreach ($this->initCmds as $command) {
|
||||
if ($this->initCommands) {
|
||||
foreach ($this->initCommands as $command) {
|
||||
$this->executeCommand($command);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user