@@ -73,7 +73,7 @@ |
||
73 | 73 | * @param string $path |
74 | 74 | * @param \DateTimeInterface $expiration |
75 | 75 | * @param array $options |
76 | - * @return string |
|
76 | + * @return \OSS\Http\ResponseCore |
|
77 | 77 | * |
78 | 78 | * @throws \RuntimeException |
79 | 79 | */ |
@@ -52,13 +52,13 @@ |
||
52 | 52 | |
53 | 53 | if($this->config['ssl']){ |
54 | 54 | $url .= 'https://'; |
55 | - }else{ |
|
55 | + } else{ |
|
56 | 56 | $url .= 'http://'; |
57 | 57 | } |
58 | 58 | |
59 | 59 | if($this->config['isCname']){ |
60 | 60 | $url .= $this->config['cdnDomain']; |
61 | - }else{ |
|
61 | + } else{ |
|
62 | 62 | $url .= $this->config['bucket'] . '.' . $this->config['endpoint']; |
63 | 63 | } |
64 | 64 |