Skip to content

Commit 2c3eee3

Browse files
committed
split -> explode
1 parent 17830ab commit 2c3eee3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Qiniu/Zone.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function getUpHosts($ak, $bucket)
6363

6464
private function unmarshalUpToken($uptoken)
6565
{
66-
$token = split(':', $uptoken);
66+
$token = explode(':', $uptoken);
6767
if (count($token) !== 3) {
6868
throw new \Exception("Invalid Uptoken", 1);
6969
}
@@ -76,7 +76,7 @@ private function unmarshalUpToken($uptoken)
7676
$bucket = $scope;
7777

7878
if (strpos($scope, ':')) {
79-
$scopes = split(':', $scope);
79+
$scopes = explode(':', $scope);
8080
$bucket = $scopes[0];
8181
}
8282

0 commit comments

Comments
 (0)