File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -92,15 +92,19 @@ public function __call($method, $args)
92
92
return $ this ->execute ($ key , $ ops );
93
93
}
94
94
95
- public function mkzip ($ dummy_key , $ urls_and_alias ,
96
- $ to_bucket = null , $ to_key = null , $ mode = 2 )
97
- {
95
+ public function mkzip (
96
+ $ dummy_key ,
97
+ $ urls_and_alias ,
98
+ $ to_bucket = null ,
99
+ $ to_key = null ,
100
+ $ mode = 2
101
+ ) {
98
102
$ base = 'mkzip/ ' . $ mode ;
99
103
$ op = array ($ base );
100
104
foreach ($ urls_and_alias as $ key => $ value ) {
101
105
if (is_int ($ key )) {
102
106
array_push ($ op , 'url/ ' . \Qiniu \base64_urlSafeEncode ($ value ));
103
- }else {
107
+ } else {
104
108
array_push ($ op , 'url/ ' . \Qiniu \base64_urlSafeEncode ($ key ));
105
109
array_push ($ op , 'alias/ ' . \Qiniu \base64_urlSafeEncode ($ key ));
106
110
}
You can’t perform that action at this time.
0 commit comments