Completed
Push — master ( 0da15d...9e5495 )
by Sebastian
06:32
created
src/Backup/Source/Redis.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -143,10 +143,10 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Cli/Executable/RedisCli.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
      */
79 79
     public function runCommand($command)
80 80
     {
81
-        if(!isset($this->availableCommands[$command])) {
81
+        if (!isset($this->availableCommands[$command])) {
82 82
             throw new Exception('Unknown redis-cli command');
83 83
         }
84 84
         $this->command = $command;
Please login to merge, or discard this patch.