@@ -45,7 +45,7 @@ |
||
| 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 | { |
@@ -95,8 +95,8 @@ |
||
| 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 | } |
@@ -94,9 +94,9 @@ |
||
| 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 | } |