Skip to content

Commit d20a2f4

Browse files
committed
format
1 parent 362b637 commit d20a2f4

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/Qiniu/Processing/PersistentFop.php

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)