@@ -558,7 +558,7 @@ |
||
| 558 | 558 | $options[CURLOPT_INFILESIZE] = filesize($file); |
| 559 | 559 | } |
| 560 | 560 | // other options for specific requests |
| 561 | - elseif(in_array($type, ['detectors', 'mime-types', 'parsers', 'version'])) |
|
| 561 | + elseif(in_array($type, ['detectors', 'mime-types', 'parsers', 'version'])) |
|
| 562 | 562 | { |
| 563 | 563 | $options[CURLOPT_PUT] = false; |
| 564 | 564 | } |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | */ |
| 89 | 89 | public static function make($param1 = null, $param2 = null, $options = []) |
| 90 | 90 | { |
| 91 | - if (preg_match('/\.jar$/', func_get_arg(0))) |
|
| 91 | + if(preg_match('/\.jar$/', func_get_arg(0))) |
|
| 92 | 92 | { |
| 93 | 93 | return new CLIClient($param1, $param2); |
| 94 | 94 | } |
@@ -173,7 +173,7 @@ discard block |
||
| 173 | 173 | { |
| 174 | 174 | if(static::MODE == 'cli' && is_numeric($size)) |
| 175 | 175 | { |
| 176 | - $this->chunkSize = (int)$size; |
|
| 176 | + $this->chunkSize = (int) $size; |
|
| 177 | 177 | } |
| 178 | 178 | elseif(static::MODE == 'web') |
| 179 | 179 | { |