@@ -95,8 +95,7 @@ |
||
| 95 | 95 | if (preg_match('/^-.*$/', $key, $matches)) |
| 96 | 96 | { |
| 97 | 97 | $arguments[] = is_bool($value) ? $key : str_pad($key, strlen($key) + 1, ' ', STR_PAD_RIGHT) . $value; |
| 98 | - } |
|
| 99 | - else |
|
| 98 | + } else |
|
| 100 | 99 | { |
| 101 | 100 | $arguments[] = is_array($value) ? implode(' ', $value) : $value; |
| 102 | 101 | } |
@@ -320,10 +320,12 @@ |
||
| 320 | 320 | */ |
| 321 | 321 | final public function get_methods() |
| 322 | 322 | { |
| 323 | - if (if (isset($this->methods)) || !empty($this->methods)) |
|
| 323 | + if (if (isset($this->methods)) { |
|
| 324 | + || !empty($this->methods)) |
|
| 324 | 325 | { |
| 325 | 326 | return $this->methods; |
| 326 | 327 | } |
| 328 | + } |
|
| 327 | 329 | } |
| 328 | 330 | |
| 329 | 331 | /** |