Skip to content

Commit 6233b4e

Browse files
committed
--standard=PSR2
1 parent 2115e41 commit 6233b4e

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

examples/delete_bucket.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
print_r($err);
1818
} else {
1919
print_r($Info);
20-
}
20+
}

examples/upload_and_callback.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
require_once __DIR__ . '/../autoload.php';
33
use Qiniu\Auth;
44
use Qiniu\Storage\UploadManager;
5+
56
// use Qiniu\Config;
67
// use Qiniu\Zone;
8+
79
// 指定zone上传
810
// $zone = Zone::qvmZonez0(); //华东QVM内网上传指定host
911
// $config = new Config($zone);
@@ -29,4 +31,4 @@
2931
var_dump($err);
3032
} else {
3133
var_dump($ret);
32-
}
34+
}

src/Qiniu/Zone.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
use Qiniu\Region;
55

6-
class Zone extends Region{
7-
6+
class Zone extends Region
7+
{
88
public static function zonez0()
99
{
1010
return parent::regionHuadong();
@@ -32,11 +32,11 @@ public static function zoneNa0()
3232

3333
public static function qvmZonez0()
3434
{
35-
return parent::qvmRegionZ0();
35+
return parent::qvmRegionhuadong();
3636
}
3737

3838
public static function qvmZonez1()
3939
{
40-
return parent::qvmRegionZ1();
40+
return parent::qvmRegionhuabei();
4141
}
42-
}
42+
}

0 commit comments

Comments
 (0)