@@ -31,9 +31,9 @@ |
||
31 | 31 | if (! $useBlock) { |
32 | 32 | $req = new Rest($this->config); |
33 | 33 | return $req->request('PUT', $path) |
34 | - ->withHeaders($params) |
|
35 | - ->withFile($stream) |
|
36 | - ->send(); |
|
34 | + ->withHeaders($params) |
|
35 | + ->withFile($stream) |
|
36 | + ->send(); |
|
37 | 37 | } else { |
38 | 38 | return $this->pointUpload($path, $stream, $params); |
39 | 39 | } |
@@ -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; |