Skip to content

Commit 16b47c6

Browse files
committed
add checkObjectEndcoding option.
1 parent 31ac41b commit 16b47c6

File tree

4 files changed

+115
-93
lines changed

4 files changed

+115
-93
lines changed

src/OSS/Core/OssUtil.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ public static function createBucketXmlBody($storageClass)
193193
*
194194
* @param array $options
195195
* @throws OssException
196-
* @return boolean
197196
*/
198197
public static function validateOptions($options)
199198
{
@@ -372,7 +371,8 @@ public static function isIPFormat($endpoint)
372371
* Get the host:port from endpoint.
373372
*
374373
* @param string $endpoint the endpoint.
375-
* @return boolean
374+
* @return string
375+
* @throws OssException
376376
*/
377377
public static function getHostPortFromEndpoint($endpoint)
378378
{

0 commit comments

Comments
 (0)