Completed
Pull Request — master (#70)
by
unknown
05:27
created
src/Cli/Process.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
     /**
46 46
      * Set the compressor cmd
47 47
      *
48
-     * @param string $cmd
48
+     * @param boolean $sCmdCompressor
49 49
      */
50 50
     public function setCompression($sCmdCompressor)
51 51
     {
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -95,8 +95,8 @@
 block discarded – undo
95 95
             throw new Exception('no command to execute');
96 96
         }
97 97
         $cmd = ($amount > 1 ? '(' . implode(' && ', $this->commands) . ')' : $this->commands[0])
98
-             . (!empty($this->sCmdCompressor) ? ' | ' . $this->sCmdCompressor : '')
99
-             . (!empty($this->redirectOutput) ? ' > ' . $this->redirectOutput : '');
98
+                . (!empty($this->sCmdCompressor) ? ' | ' . $this->sCmdCompressor : '')
99
+                . (!empty($this->redirectOutput) ? ' > ' . $this->redirectOutput : '');
100 100
 
101 101
         return $cmd;
102 102
     }
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -94,9 +94,9 @@
 block discarded – undo
94 94
         if ($amount < 1) {
95 95
             throw new Exception('no command to execute');
96 96
         }
97
-        $cmd = ($amount > 1 ? '(' . implode(' && ', $this->commands) . ')' : $this->commands[0])
98
-             . (!empty($this->sCmdCompressor) ? ' | ' . $this->sCmdCompressor : '')
99
-             . (!empty($this->redirectOutput) ? ' > ' . $this->redirectOutput : '');
97
+        $cmd = ($amount > 1 ? '('.implode(' && ', $this->commands).')' : $this->commands[0])
98
+             . (!empty($this->sCmdCompressor) ? ' | '.$this->sCmdCompressor : '')
99
+             . (!empty($this->redirectOutput) ? ' > '.$this->redirectOutput : '');
100 100
 
101 101
         return $cmd;
102 102
     }
Please login to merge, or discard this patch.