Skip to content

Commit 60a002b

Browse files
committed
expose more values to users
1 parent 9b53efa commit 60a002b

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/Qiniu/Storage/BucketManager.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,7 @@ public function listFiles($bucket, $prefix = null, $marker = null, $limit = 1000
8484
\Qiniu\setWithoutEmpty($query, 'limit', $limit);
8585
\Qiniu\setWithoutEmpty($query, 'delimiter', $delimiter);
8686
$url = $this->getRsfHost() . '/list?' . http_build_query($query);
87-
list($ret, $error) = $this->get($url);
88-
if ($ret === null) {
89-
return array(null, null, $error);
90-
}
91-
$marker = array_key_exists('marker', $ret) ? $ret['marker'] : null;
92-
return array($ret, $marker, null);
87+
return $this->get($url);
9388
}
9489

9590
/**

0 commit comments

Comments
 (0)