@@ -95,8 +95,8 @@ |
||
| 95 | 95 | 'threads' => '-j', |
| 96 | 96 | 'mode' => '-o', |
| 97 | 97 | ]; |
| 98 | - foreach($optionalSwitches as $name => $switch) { |
|
| 99 | - if(isset($this->options[$name])) { |
|
| 98 | + foreach ($optionalSwitches as $name => $switch) { |
|
| 99 | + if (isset($this->options[$name])) { |
|
| 100 | 100 | $cmd .= $switch . ' '; |
| 101 | 101 | $cmd .= escapeshellarg($this->options[$name]) . ' '; |
| 102 | 102 | } |
@@ -98,8 +98,8 @@ |
||
| 98 | 98 | $optionalSwitches = [ |
| 99 | 99 | 'configFile' => '--configuration', |
| 100 | 100 | ]; |
| 101 | - foreach($optionalSwitches as $name => $switch) { |
|
| 102 | - if(isset($this->options[$name])) { |
|
| 101 | + foreach ($optionalSwitches as $name => $switch) { |
|
| 102 | + if (isset($this->options[$name])) { |
|
| 103 | 103 | $cmd .= $switch . ' '; |
| 104 | 104 | $cmd .= escapeshellarg($this->options[$name]) . ' '; |
| 105 | 105 | } |