@@ -36,9 +36,9 @@ |
||
36 | 36 | if (! $useBlock) { |
37 | 37 | $req = new Rest($this->config); |
38 | 38 | return $req->request('PUT', $path) |
39 | - ->withHeaders($params) |
|
40 | - ->withFile($stream) |
|
41 | - ->send(); |
|
39 | + ->withHeaders($params) |
|
40 | + ->withFile($stream) |
|
41 | + ->send(); |
|
42 | 42 | } elseif ($this->config->uploadType === 'BLOCK_PARALLEL') { |
43 | 43 | return $this->concurrentPointUpload($path, $stream, $params); |
44 | 44 | } else { |