@@ -155,7 +155,7 @@ |
||
| 155 | 155 | * Return last successful save timestamp. |
| 156 | 156 | * |
| 157 | 157 | * @param \phpbu\App\Cli\Executable\RedisCli $redis |
| 158 | - * @return int |
|
| 158 | + * @return string |
|
| 159 | 159 | * @throws \phpbu\App\Exception |
| 160 | 160 | */ |
| 161 | 161 | private function getLastBackupTime(Executable\RedisCli $redis) |
@@ -143,10 +143,10 @@ |
||
| 143 | 143 | if (null == $this->executable) { |
| 144 | 144 | $this->executable = new Executable\RedisCli($this->pathToRedisCli); |
| 145 | 145 | $this->executable->backup() |
| 146 | - ->useHost($this->host) |
|
| 147 | - ->usePort($this->port) |
|
| 148 | - ->usePassword($this->password) |
|
| 149 | - ->showStdErr($this->showStdErr); |
|
| 146 | + ->useHost($this->host) |
|
| 147 | + ->usePort($this->port) |
|
| 148 | + ->usePassword($this->password) |
|
| 149 | + ->showStdErr($this->showStdErr); |
|
| 150 | 150 | } |
| 151 | 151 | return $this->executable; |
| 152 | 152 | } |