@@ -5,7 +5,6 @@ |
||
| 5 | 5 | namespace Upyun; |
| 6 | 6 | |
| 7 | 7 | use Upyun\Api\Rest; |
| 8 | - |
|
| 9 | 8 | use GuzzleHttp\Client; |
| 10 | 9 | use GuzzleHttp\Psr7; |
| 11 | 10 | use GuzzleHttp; |
@@ -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 { |