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)
9292 return $ this ->execute ($ key , $ ops );
9393 }
9494
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+ ) {
98102 $ base = 'mkzip/ ' . $ mode ;
99103 $ op = array ($ base );
100104 foreach ($ urls_and_alias as $ key => $ value ) {
101105 if (is_int ($ key )) {
102106 array_push ($ op , 'url/ ' . \Qiniu \base64_urlSafeEncode ($ value ));
103- }else {
107+ } else {
104108 array_push ($ op , 'url/ ' . \Qiniu \base64_urlSafeEncode ($ key ));
105109 array_push ($ op , 'alias/ ' . \Qiniu \base64_urlSafeEncode ($ key ));
106110 }
You can’t perform that action at this time.
0 commit comments