@@ -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 | } |
@@ -20,7 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | $this->config = $config; |
22 | 22 | $this->url = ($this->config->useSsl ? 'https://' : 'http://') . Config::ED_FORM . '/'. |
23 | - $this->config->bucketName; |
|
23 | + $this->config->bucketName; |
|
24 | 24 | } |
25 | 25 | |
26 | 26 | /** |