@@ -276,7 +276,7 @@ discard block |
||
| 276 | 276 | */ |
| 277 | 277 | public function setTimeout($value) |
| 278 | 278 | { |
| 279 | - $this->setOption(CURLOPT_TIMEOUT, (int) $value); |
|
| 279 | + $this->setOption(CURLOPT_TIMEOUT, (int)$value); |
|
| 280 | 280 | |
| 281 | 281 | return $this; |
| 282 | 282 | } |
@@ -567,7 +567,7 @@ discard block |
||
| 567 | 567 | $options[CURLOPT_INFILESIZE] = filesize($file); |
| 568 | 568 | } |
| 569 | 569 | // other options for specific requests |
| 570 | - elseif(in_array($type, ['detectors', 'mime-types', 'parsers', 'version'])) |
|
| 570 | + elseif(in_array($type, ['detectors', 'mime-types', 'parsers', 'version'])) |
|
| 571 | 571 | { |
| 572 | 572 | $options[CURLOPT_PUT] = false; |
| 573 | 573 | } |
@@ -211,7 +211,7 @@ discard block |
||
| 211 | 211 | */ |
| 212 | 212 | public function setDownloadRemote($download) |
| 213 | 213 | { |
| 214 | - $this->downloadRemote = (bool) $download; |
|
| 214 | + $this->downloadRemote = (bool)$download; |
|
| 215 | 215 | |
| 216 | 216 | return $this; |
| 217 | 217 | } |
@@ -395,7 +395,7 @@ discard block |
||
| 395 | 395 | */ |
| 396 | 396 | public function setChecked($checked) |
| 397 | 397 | { |
| 398 | - $this->checked = (bool) $checked; |
|
| 398 | + $this->checked = (bool)$checked; |
|
| 399 | 399 | } |
| 400 | 400 | |
| 401 | 401 | /** |